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
This commit is contained in:
Richard Brown 2019-12-11 13:07:59 +00:00 committed by Git OBS Bridge
parent dc8b6f3f18
commit 5782062f81
3 changed files with 9 additions and 4 deletions

View File

@ -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/
#

View File

@ -26,6 +26,12 @@ Tue Nov 5 16:25:53 UTC 2019 - Neal Gompa <ngompa13@gmail.com>
- 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 <iforster@suse.com>
- 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

View File

@ -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