Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2024-01-08 23:46:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and      /work/SRC/openSUSE:Factory/.libguestfs.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libguestfs"

Mon Jan  8 23:46:39 2024 rev:99 rq:1137599 version:1.52.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes    2024-01-05 
21:45:40.279625580 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.21961/libguestfs.changes 
2024-01-08 23:46:44.945555429 +0100
@@ -4 +4 @@
-- Update to version 1.52.0
+- Update to version 1.52.0 (jsc#PED-6305)
@@ -29,0 +30,11 @@
+Tue Dec 19 09:00:54 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Provide a tar-wrapper that creates bit-reproducible output (boo#1218191)
+
+-------------------------------------------------------------------
+Tue Dec 12 12:12:12 UTC 2023 - oher...@suse.de
+
+- Use ocaml-rpm-macros to track OCaml ABI
+- Remove unused perl_gen_filelist
+
+-------------------------------------------------------------------
@@ -77,0 +89,2 @@
+- bsc#1213243 - KubeVirt needs libguestfs with the support of qcow2
+  appliances
@@ -136 +149 @@
-  fails on the design choice to have /usr/lib65 without write
+  fails on the design choice to have /usr/lib64 without write

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libguestfs.spec ++++++
--- /var/tmp/diff_new_pack.J3MNjP/_old  2024-01-08 23:46:45.521576372 +0100
+++ /var/tmp/diff_new_pack.J3MNjP/_new  2024-01-08 23:46:45.525576518 +0100
@@ -43,6 +43,7 @@
 BuildRequires:  libtool
 BuildRequires:  ocaml-augeas-devel
 BuildRequires:  ocaml-hivex-devel
+BuildRequires:  ocaml-rpm-macros
 BuildRequires:  po4a
 BuildRequires:  readline-devel
 BuildRequires:  supermin >= 5.1.18
@@ -90,8 +91,23 @@
 %autosetup -p1
 
 sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
+sed -i 's/tar zcf/tar -zcf/' appliance/Makefile.am
 
 %build
+# provide a wrapper to tar that creates bit-reproducible output (boo#1218191)
+# used in supermin for base.tar.gz, in %install for zz-winsupport.tar.gz 
zz-scripts.tar.gz and in appliance/Makefile.am for 3 more .tar.gz files
+SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(date -r %{SOURCE0} +%%s)}
+mkdir ~/bin ; cat >~/bin/tar <<EOF
+#!/bin/sh
+exec /usr/bin/tar \
+  --sort=name --clamp-mtime --mtime=@$SOURCE_DATE_EPOCH \
+  --owner=0 --group=0 --numeric-owner \
+  --pax-option=exthdr.name=%%d/PaxHeaders/%%f,delete=atime,delete=ctime \
+  "\$@"
+EOF
+chmod a+x ~/bin/tar
+PATH=~/bin:$PATH
+
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 %define kvm_binary /bin/false
@@ -187,6 +203,7 @@
 build_it %{?_smp_mflags} || build_it
 
 %install
+PATH=~/bin:$PATH
 %make_install \
        INSTALLDIRS=vendor \
        udevrulesdir=%{_udevrulesdir}
@@ -202,11 +219,9 @@
 # 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
 
@@ -252,7 +267,7 @@
 cp %{S:101} winsupport
 
 pushd winsupport
-tar zcf %{buildroot}%{_libdir}/guestfs/supermin.d/zz-winsupport.tar.gz .
+tar -czf %{buildroot}%{_libdir}/guestfs/supermin.d/zz-winsupport.tar.gz .
 popd
 
 cat > %{buildroot}%{_libdir}/guestfs/supermin.d/zz-packages-winsupport << EOF
@@ -630,21 +645,10 @@
 %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

Reply via email to