Always pull in correct python3X-rpm-macros package

epel8
Maxwell G 3 years ago
parent 3d7226a416
commit 54c1f931b6
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -1,6 +1,6 @@
Name: epel-rpm-macros Name: epel-rpm-macros
Version: 8 Version: 8
Release: 29 Release: 30
Summary: Extra Packages for Enterprise Linux RPM macros Summary: Extra Packages for Enterprise Linux RPM macros
License: GPLv2 License: GPLv2
@ -36,8 +36,10 @@ Requires: python-rpm-macros
Requires: python2-rpm-macros Requires: python2-rpm-macros
# Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 or python3.8 # Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 or python3.8
# instead of /usr/libexec/platform-python # instead of /usr/libexec/platform-python
Requires: (python-modular-rpm-macros if python3-devel) Requires: (python-modular-rpm-macros if (python36-devel or python38-devel or python39-devel))
Suggests: python36-rpm-macros Suggests: (python36-rpm-macros if python36-devel)
Suggests: (python38-rpm-macros if python38-devel)
Suggests: (python39-rpm-macros if python39-devel)
#systemd additional macros https://pagure.io/epel/issue/77 #systemd additional macros https://pagure.io/epel/issue/77
Requires: (epel-rpm-macros-systemd if systemd-rpm-macros) Requires: (epel-rpm-macros-systemd if systemd-rpm-macros)
Requires: ansible-srpm-macros Requires: ansible-srpm-macros
@ -103,6 +105,10 @@ install -Dpm 644 %{SOURCE150} \
%changelog %changelog
* Tue May 24 2022 Maxwell G <gotmax@e.email> - 8-30
- Pull in appropriate python3X-rpm-macros package for non-default Python
versions
* Tue May 17 2022 Maxwell G <gotmax@e.email> - 8-29 * Tue May 17 2022 Maxwell G <gotmax@e.email> - 8-29
- Add `Requires: ansible-srpm-macros` - Add `Requires: ansible-srpm-macros`
- Backport @churchyard's packaging nitpicks from epel9 - Backport @churchyard's packaging nitpicks from epel9

Loading…
Cancel
Save