Install python36-rpm-macros or python38-rpm-macros correctly

epel9
Troy Dawson 5 years ago
parent 64bc4a72f6
commit 93fbfe9fd3

@ -1,6 +1,6 @@
Name: epel-rpm-macros Name: epel-rpm-macros
Version: 8 Version: 8
Release: 10 Release: 11
Summary: Extra Packages for Enterprise Linux RPM macros Summary: Extra Packages for Enterprise Linux RPM macros
Group: System Environment/Base Group: System Environment/Base
@ -23,8 +23,10 @@ Requires: python-srpm-macros
# Since the RHEL python-devel package doesn't require them, bring them in here # Since the RHEL python-devel package doesn't require them, bring them in here
Requires: python-rpm-macros Requires: python-rpm-macros
Requires: python2-rpm-macros Requires: python2-rpm-macros
# Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 instead of /usr/libexec/platform-python # Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 or python3.8
Requires: (python-modular-rpm-macros if python3-devel) # instead of /usr/libexec/platform-python
Requires: (python36-rpm-macros if python36-devel)
Requires: (python38-rpm-macros if python38-devel)
%description %description
This package contains the Extra Packages for Enterprise Linux (EPEL) RPM This package contains the Extra Packages for Enterprise Linux (EPEL) RPM
@ -58,6 +60,9 @@ install -Dpm 644 %{SOURCE3} \
%changelog %changelog
* Thu Apr 30 2020 Troy Dawson <tdawson@redhat.com> - 8-11
- Install python36-rpm-macros or python38-rpm-macros correctly
* Tue Apr 14 2020 Miro Hrončok <mhroncok@redhat.com> - 8-10 * Tue Apr 14 2020 Miro Hrončok <mhroncok@redhat.com> - 8-10
- Define %%python, but make it work only if %%__python is redefined - Define %%python, but make it work only if %%__python is redefined
- Add the %%pycached macro - Add the %%pycached macro

Loading…
Cancel
Save