Enable auto python requires generation

epel9
Troy Dawson 5 years ago
parent 170a25dd50
commit 0a2c9ff3ae

@ -1,6 +1,6 @@
Name: epel-rpm-macros
Version: 8
Release: 5
Release: 6
Summary: Extra Packages for Enterprise Linux RPM macros
Group: System Environment/Base
@ -13,6 +13,7 @@ URL: http://download.fedoraproject.org/pub/epel
Source0: macros.epel-rpm-macros
Source1: macros.zzz-epel-override
Source2: gpgverify
Source3: pythondist.attr
Source9: GPL
BuildArch: noarch
@ -45,14 +46,21 @@ install -Dpm 644 %{SOURCE1} \
install -Dpm 755 %{SOURCE2} \
%{buildroot}%{_rpmconfigdir}/gpgverify
install -Dpm 644 %{SOURCE3} \
%{buildroot}%{_fileattrsdir}/pythondist.attr
%files
%license GPL
/usr/lib/rpm/macros.d/macros.epel-rpm-macros
/etc/rpm/macros.zzz-epel-override
%{_rpmconfigdir}/gpgverify
%{_fileattrsdir}/pythondist.attr
%changelog
* Wed Nov 20 2019 Troy Dawson <tdawson@redhat.com> - 8-6
- Enable python requires generator
* Wed Nov 13 2019 Kevin Fenzi <kevin@scrye.com> - 8-5
- Bump release, because 8-4 was built in epel8-playground

@ -0,0 +1,3 @@
%__pythondist_provides %{_rpmconfigdir}/pythondistdeps.py --provides --majorver-provides
%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires
%__pythondist_path ^/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]+/site-packages/[^/]+\\.(dist-info|egg-info|egg-link)$
Loading…
Cancel
Save