From 8799184fe77c6332b853f31d26ef29db743700f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 29 Mar 2018 15:04:40 +0200 Subject: [PATCH] Remove macros.systempython It was for backward compatibility only, to be removed in F29. This will only become non-flat package in F29+. --- macros.systempython | 1 - python37.spec | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 macros.systempython diff --git a/macros.systempython b/macros.systempython deleted file mode 100644 index 314cd45..0000000 --- a/macros.systempython +++ /dev/null @@ -1 +0,0 @@ -%system_python_abi %{expand: } diff --git a/python37.spec b/python37.spec index b314587..6fb6b3c 100644 --- a/python37.spec +++ b/python37.spec @@ -247,10 +247,6 @@ Source: https://www.python.org/ftp/python/%{version}/Python-%{version}%{prerel}. # Written by bkabrda Source8: check-pyc-and-pyo-timestamps.py -# Backward compatible no-op macro for system-python -# Remove in Fedora 29 -Source9: macros.systempython - # Desktop menu entry for idle3 Source10: idle3.desktop @@ -959,12 +955,6 @@ rm -rf %{buildroot}%{_bindir}/__pycache__ # Fixup permissions for shared libraries from non-standard 555 to standard 755: find %{buildroot} -perm 555 -exec chmod 755 {} \; -# Install macros for rpm: -%if %{without flatpackage} -mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/ -install -m 644 %{SOURCE9} %{buildroot}/%{_rpmconfigdir}/macros.d/ -%endif - # Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to # avoid the user having to know the precise version and ABI flags. # See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748 @@ -1359,7 +1349,6 @@ CheckPython optimized %if %{without flatpackage} %{_bindir}/python3-config %{_libdir}/pkgconfig/python3.pc -%{_rpmconfigdir}/macros.d/macros.systempython %{_bindir}/pathfix.py %endif