From 6b1e8ad326921a4877d1db513355a192b8f83dca6ce6305a7bc834c2621a7bbb Mon Sep 17 00:00:00 2001 From: Callum Farmer Date: Thu, 28 Jul 2022 20:06:16 +0000 Subject: [PATCH] Accepting request 991593 from home:gmbr3:rpm4.18 fix OBS-URL: https://build.opensuse.org/request/show/991593 OBS-URL: https://build.opensuse.org/package/show/Base:System/python-rpm-packaging?expand=0&rev=4 --- python-rpm-packaging.changes | 2 +- python-rpm-packaging.spec | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-rpm-packaging.changes b/python-rpm-packaging.changes index f04dae2..d9d8464 100644 --- a/python-rpm-packaging.changes +++ b/python-rpm-packaging.changes @@ -6,7 +6,7 @@ Thu Jul 14 13:06:08 UTC 2022 - Ben Greiner ------------------------------------------------------------------- Wed Jun 30 13:47:17 UTC 2021 - Callum Farmer -- initial version 0.0.0+163 +- initial version 20210526+a18ca48 - Add patches from rpm: * python3.patch * disable-distrequires.patch diff --git a/python-rpm-packaging.spec b/python-rpm-packaging.spec index ae33e2b..3cc6332 100644 --- a/python-rpm-packaging.spec +++ b/python-rpm-packaging.spec @@ -27,8 +27,8 @@ Source0: %{name}-%{version}.tar.xz Patch0: python3.patch Patch1: disable-distrequires.patch BuildArch: noarch -Provides: rpm-build-python = 4.17.0 -Obsoletes: rpm-build-python +Provides: rpm-build-python = 4.17.1 +Obsoletes: rpm-build-python < 4.17.1 Requires: python3-base # boo#1178257 Requires: python3-packaging @@ -53,6 +53,11 @@ install -Dm0755 scripts/* %{buildroot}%{_rpmconfigdir} %files %license COPYING %doc README -%{_rpmconfigdir}/* +%{_fileattrsdir}/python.attr +%{_fileattrsdir}/pythondist.attr +%{_rpmconfigdir}/brp-python-bytecompile +%{_rpmconfigdir}/brp-python-hardlink +%{_rpmconfigdir}/pythondistdeps.py + %changelog