Make pythonX-rpm-macros depend on python-rpm-macros

%pyX_(build|install) uses %py_setup from python-rpm-macros

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1827811
This commit is contained in:
Miro Hrončok 2020-04-27 10:40:14 +02:00
parent 15e32a3005
commit fed99a0478
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The common Python RPM macros
# macros: MIT, compileall2.py: PSFv2
@ -35,6 +35,7 @@ RPM macros for building Python source packages.
%package -n python2-rpm-macros
Summary: RPM macros for building Python 2 packages
Requires: python-srpm-macros >= 3-38
Requires: python-rpm-macros
# Would need to be different for each release - worth it?
#Conflicts: python2-devel < 2.7.11-3
@ -44,6 +45,7 @@ RPM macros for building Python 2 packages.
%package -n python3-rpm-macros
Summary: RPM macros for building Python 3 packages
Requires: python-srpm-macros >= 3-38
Requires: python-rpm-macros
%description -n python3-rpm-macros
RPM macros for building Python 3 packages.
@ -78,6 +80,9 @@ install -m 644 %{SOURCE5} \
%changelog
* Mon Apr 27 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-3
- Make pythonX-rpm-macros depend on python-rpm-macros (#1827811)
* Tue Mar 31 2020 Lumír Balhar <lbalhar@redhat.com> - 3.8-2
- Update of bundled compileall2 module to 0.7.1 (bugfix release)