From ffaa0f307889d9e7a3055b1f212182da79f59c5e 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/python3/c/dd3cb47629970fe54d5dd87825c005d51e3070be --- python3.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python3.spec b/python3.spec index 523364d..f647c00 100644 --- a/python3.spec +++ b/python3.spec @@ -819,7 +819,6 @@ InstallPython() { PyInstSoName=$2 MoreCFlags=$3 LDVersion=$4 - Postfix=$5 # Switch to the directory with this configuration's built files ConfDir=build/$ConfName @@ -873,16 +872,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__