Require recent enough SRPM macros from RPM macros, to prevent missing Lua files

%pyhon_provide in python-rpm-macros uses new Lua functions from python-srpm-macros

People have python-srpm-macros pre-installed, and it is not autoupdated,
hence they can have older versions installed and it blows up.
This commit is contained in:
Miro Hrončok 2020-05-06 01:31:46 +02:00
parent 25355e4a16
commit 76aecd9ad7
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3.8
Release: 5%{?dist}
Release: 6%{?dist}
Summary: The common Python RPM macros
# macros and lua: MIT, compileall2.py: PSFv2
@ -25,7 +25,7 @@ BuildArch: noarch
# For %%__default_python3_pkgversion used in %%python_provide
# For python.lua
# For compileall2.py
Requires: python-srpm-macros
Requires: python-srpm-macros >= 3.8-5
%description
This package contains the unversioned Python RPM macros, that most
@ -107,6 +107,9 @@ install -m 644 compileall2.py %{buildroot}%{_rpmconfigdir}/redhat/
%changelog
* Tue May 05 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-6
- Require recent enough SRPM macros from RPM macros, to prevent missing Lua files
* Tue May 05 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-5
- Implement %%py_provides