From 76aecd9ad76021a415192e0b17ecda20771e0656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 6 May 2020 01:31:46 +0200 Subject: [PATCH] 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. --- python-rpm-macros.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 024a45d..bc687a7 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -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 - 3.8-6 +- Require recent enough SRPM macros from RPM macros, to prevent missing Lua files + * Tue May 05 2020 Miro Hrončok - 3.8-5 - Implement %%py_provides