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:
parent
25355e4a16
commit
76aecd9ad7
@ -1,6 +1,6 @@
|
|||||||
Name: python-rpm-macros
|
Name: python-rpm-macros
|
||||||
Version: 3.8
|
Version: 3.8
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: The common Python RPM macros
|
Summary: The common Python RPM macros
|
||||||
|
|
||||||
# macros and lua: MIT, compileall2.py: PSFv2
|
# macros and lua: MIT, compileall2.py: PSFv2
|
||||||
@ -25,7 +25,7 @@ BuildArch: noarch
|
|||||||
# For %%__default_python3_pkgversion used in %%python_provide
|
# For %%__default_python3_pkgversion used in %%python_provide
|
||||||
# For python.lua
|
# For python.lua
|
||||||
# For compileall2.py
|
# For compileall2.py
|
||||||
Requires: python-srpm-macros
|
Requires: python-srpm-macros >= 3.8-5
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the unversioned Python RPM macros, that most
|
This package contains the unversioned Python RPM macros, that most
|
||||||
@ -107,6 +107,9 @@ install -m 644 compileall2.py %{buildroot}%{_rpmconfigdir}/redhat/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue May 05 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-5
|
||||||
- Implement %%py_provides
|
- Implement %%py_provides
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user