From 9203532359bcd2631b67c56d89098264413b502d Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Tue, 13 Feb 2018 16:23:24 +0100 Subject: [PATCH] Remove unused Postfix argument from InstallPython It was used for Systemtap hooks, which were removed recently: https://src.fedoraproject.org/rpms/python37/c/31d212b3c7fa592942d18607d1146c189936e754 --- python37.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python37.spec b/python37.spec index 3992856..ccea761 100644 --- a/python37.spec +++ b/python37.spec @@ -815,7 +815,6 @@ InstallPython() { PyInstSoName=$2 MoreCFlags=$3 LDVersion=$4 - Postfix=$5 # Switch to the directory with this configuration's built files ConfDir=build/$ConfName @@ -869,16 +868,14 @@ EOF InstallPython debug \ %{py_INSTSONAME_debug} \ -O0 \ - %{LDVERSION_debug} \ - -debug + %{LDVERSION_debug} %endif # with debug_build # Now the optimized build: InstallPython optimized \ %{py_INSTSONAME_optimized} \ "" \ - %{LDVERSION_optimized} \ - "" + %{LDVERSION_optimized} # Install directories for additional packages install -d -m 0755 %{buildroot}%{pylibdir}/site-packages/__pycache__