From 14e4c04a425bb1951848712c16e0e10c50343df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 27 Apr 2021 15:49:21 +0200 Subject: [PATCH] Remove EPEL 7 compatibility macros that were actually not defined at all The %{? in the comment made the entire block of macros not work. Since nobody actually used those on Fedora, because they did not exist, we can safely remove them. No need to document this in the %changelog. --- macros.python-srpm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/macros.python-srpm b/macros.python-srpm index 4957492..9a21c23 100644 --- a/macros.python-srpm +++ b/macros.python-srpm @@ -47,13 +47,6 @@ # a specific version (e.g. 34 in Fedora EPEL7) %python3_pkgversion 3 -# Set to /bin/true to avoid %%ifdefs and %%{? in specfiles -%__python3_other /bin/true -%py3_other_build /bin/true -%py3_other_install /bin/true - - - # === Macros for Build/Requires tags using Python dist tags === # - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages # - These macros need to be in macros.python-srpm, because BuildRequires tags