forked from pool/libguestfs
Accepting request 1043309 from home:dimstar:Factory
- Fix build with RPM 4.18: rpm wants to do a proper cleanup, and fails on the design choice to have /usr/lib65 without write permission. As we already tar'ed the content up, we can simply change the permissions of winsupport's content to allow proper erasing. OBS-URL: https://build.opensuse.org/request/show/1043309 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=533
This commit is contained in:
parent
8327a03b19
commit
371394c089
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 09:08:08 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix build with RPM 4.18: rpm wants to do a proper cleanup, and
|
||||
fails on the design choice to have /usr/lib65 without write
|
||||
permission. As we already tar'ed the content up, we can simply
|
||||
change the permissions of winsupport's content to allow proper
|
||||
erasing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 14:34:58 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -259,6 +259,10 @@ libfuse2
|
||||
hwinfo
|
||||
EOF
|
||||
|
||||
# do some cleanup so that rpm can properly empty directories without permission denie
|
||||
# The winsupport directory has already been tar'ed up, so we don't care much
|
||||
find winsupport -type d -exec chmod 755 {} \;
|
||||
|
||||
mkdir -p %{buildroot}/tmp/usr/bin
|
||||
cp %{S:100} %{buildroot}/tmp/usr/bin
|
||||
chmod a+x %{buildroot}/tmp/usr/bin/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user