Make perl Guestfs.so writable

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/DH5N6XV2NJHBIMX226HPDFUMO5NODE2V/

Fixes: RHEL-68973
(cherry picked from commit ff5b9715aa981d712b281069c260208d21aa40e8)
This commit is contained in:
Richard W.M. Jones 2024-11-18 16:27:25 +00:00
parent d17758ee6f
commit 821e265b2e

View File

@ -42,7 +42,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.54.0
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPL-2.1-or-later
# Build only for architectures that have a kernel
@ -823,6 +823,10 @@ find $RPM_BUILD_ROOT -name .packlist -delete
find $RPM_BUILD_ROOT -name '*.bs' -delete
find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete
# debuginfo generation fails with debugedit >= 5.1 unless the files
# are writable:
find $RPM_BUILD_ROOT -name Guestfs.so -exec chmod u+w {} \;
# golang: Ignore what libguestfs upstream installs, and just copy the
# source files to %%{_datadir}/gocode/src.
%ifarch %{golang_arches}
@ -1121,7 +1125,7 @@ rm ocaml/html/.gitignore
%changelog
* Tue Nov 26 2024 Richard W.M. Jones <rjones@redhat.com> - 1:1.54.0-4
* Tue Nov 26 2024 Richard W.M. Jones <rjones@redhat.com> - 1:1.54.0-5
- Rebase to libguestfs 1.54.0
resolves: RHEL-56810
- Fix osinfo for Windows Server 2025
@ -1130,6 +1134,8 @@ rm ocaml/html/.gitignore
resolves: RHEL-65293
- Remove squashfs-tools on RHEL
resolves: RHEL-68937
- Fix perl-Sys-Guestfs debuginfo
resolves: RHEL-68973
* Wed Aug 28 2024 Richard W.M. Jones <rjones@redhat.com> - 1:1.52.2-4
- Synchronize patches with RHEL 9.5