From 5782062f817f3d5df77c56cc5557a19a061ca7c6ab22b42828b0a66f1c8e5796 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Wed, 11 Dec 2019 13:07:59 +0000 Subject: [PATCH] Accepting request 743872 from home:fos:branches:Base:System Declare /var/lib/rpm as a ghost file (it is a link to /usr/lib/sysimage/rpm generated in post script for quite some time now). Fixes [boo#1132796]. OBS-URL: https://build.opensuse.org/request/show/743872 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=518 --- python-rpm.spec | 2 +- rpm.changes | 6 ++++++ rpm.spec | 5 ++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-rpm.spec b/python-rpm.spec index c4f8c79..d0e8999 100644 --- a/python-rpm.spec +++ b/python-rpm.spec @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # diff --git a/rpm.changes b/rpm.changes index 0aa3d9d..0ac009d 100644 --- a/rpm.changes +++ b/rpm.changes @@ -26,6 +26,12 @@ Tue Nov 5 16:25:53 UTC 2019 - Neal Gompa - Move pythondistdeps dependency generator to rpm-build - Add python3-setuptools and python3 dependencies to rpm-build for pythondistdeps +------------------------------------------------------------------- +Tue Oct 29 14:42:26 UTC 2019 - Ignaz Forster + +- Declare /var/lib/rpm as a ghost file (it is a link to /usr/lib/sysimage/rpm + generated in post script for quite some time now) [boo#1132796] + ------------------------------------------------------------------- Wed Oct 2 14:53:19 CEST 2019 - mls@suse.de diff --git a/rpm.spec b/rpm.spec index 1e5f630..53d5181 100644 --- a/rpm.spec +++ b/rpm.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -315,7 +315,6 @@ for d in %{buildroot}/usr/lib/rpm/platform/*-linux/macros ; do chmod 755 %{buildroot}/usr/src/packages/RPMS/$dd done mkdir -p %{buildroot}/usr/lib/sysimage/rpm -mkdir -p %{buildroot}/var/lib/rpm gzip -9 %{buildroot}/%{_mandir}/man[18]/*.[18] export RPM_BUILD_ROOT %ifarch s390x @@ -428,7 +427,7 @@ fi %doc %{_mandir}/man[18]/*.[18]* %dir /usr/lib/sysimage %dir /usr/lib/sysimage/rpm -%dir /var/lib/rpm +%ghost /var/lib/rpm %dir %attr(755,root,root) /usr/src/packages/BUILD %dir %attr(755,root,root) /usr/src/packages/SPECS %dir %attr(755,root,root) /usr/src/packages/SOURCES