Accepting request 1133020 from home:olh:branches:Virtualization

- Use ocaml-rpm-macros to track OCaml ABI
- Remove unused perl_gen_filelist

sync changes file from SLE15

OBS-URL: https://build.opensuse.org/request/show/1133020
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=559
This commit is contained in:
Charles Arnold 2024-01-08 15:18:16 +00:00 committed by Git OBS Bridge
parent 46d45c57c4
commit ca7e74e313
2 changed files with 14 additions and 18 deletions

View File

@ -26,6 +26,12 @@ Thu Jan 4 13:10:51 MST 2024 - carnold@suse.com
* In guestmount(1) avoid calling fclose(NULL) on error paths,
which might have caused a crash on some platforms.
-------------------------------------------------------------------
Tue Dec 12 12:12:12 UTC 2023 - ohering@suse.de
- Use ocaml-rpm-macros to track OCaml ABI
- Remove unused perl_gen_filelist
-------------------------------------------------------------------
Mon Dec 11 12:39:30 MST 2023 - carnold@suse.com
@ -75,6 +81,8 @@ Thu Mar 23 15:49:09 UTC 2023 - Martin Liška <mliska@suse.cz>
-------------------------------------------------------------------
Wed Mar 15 07:33:43 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- bsc#1213243 - KubeVirt needs libguestfs with the support of qcow2
appliances
- Configure with --enable-appliance-format-auto to allow
qcow2-format fixed appliances.
@ -133,7 +141,7 @@ Thu Feb 9 12:55:46 MST 2023 - carnold@suse.com
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
fails on the design choice to have /usr/lib64 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.

View File

@ -47,6 +47,7 @@ BuildRequires: po4a
BuildRequires: readline-devel
BuildRequires: supermin >= 5.1.18
BuildRequires: zstd
BuildRequires: ocaml-rpm-macros
BuildRequires: ocaml(ocaml_base_version) >= 4.07
BuildRequires: ocamlfind(findlib)
BuildRequires: perl(Getopt::Long)
@ -202,11 +203,9 @@ cp %{S:5} %{buildroot}/etc/profile.d
# Perl
find %{buildroot}/ -name "*.bs" -size 0c -print -delete
%perl_process_packlist
%perl_gen_filelist
# The macro above packages everything, here only the perl files are desired
grep "%perl_vendorarch/" %{name}.files | tee t
mv t %{name}.files
# OCaml
%ocaml_create_file_list
# Supermin
pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d
@ -630,21 +629,10 @@ for %{name}.
%files inspect-icons
# no files
%files -n ocaml-%{name}
%{_libdir}/ocaml/guestfs
%exclude %{_libdir}/ocaml/guestfs/*.a
%exclude %{_libdir}/ocaml/guestfs/*.cmxa
%exclude %{_libdir}/ocaml/guestfs/*.cmx
%exclude %{_libdir}/ocaml/guestfs/*.mli
%{_libdir}/ocaml/stublibs/dllmlguestfs.so
%{_libdir}/ocaml/stublibs/dllmlguestfs.so.owner
%files -n ocaml-%{name} -f %name.files
%files -n ocaml-%{name}-devel
%files -n ocaml-%{name}-devel -f %name.files.devel
%doc ocaml/examples/*.ml ocaml/html
%{_libdir}/ocaml/guestfs/*.a
%{_libdir}/ocaml/guestfs/*.cmxa
%{_libdir}/ocaml/guestfs/*.cmx
%{_libdir}/ocaml/guestfs/*.mli
%{_mandir}/man3/guestfs-ocaml.3*
%files -n perl-Sys-Guestfs