Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libostree for openSUSE:Factory checked in at 2023-08-30 10:18:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libostree (Old) and /work/SRC/openSUSE:Factory/.libostree.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libostree" Wed Aug 30 10:18:54 2023 rev:32 rq:1107970 version:2023.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libostree/libostree.changes 2023-05-13 17:17:13.054234845 +0200 +++ /work/SRC/openSUSE:Factory/.libostree.new.1766/libostree.changes 2023-08-30 10:21:00.885286073 +0200 @@ -1,0 +2,98 @@ +Fri Aug 25 23:21:50 UTC 2023 - Luciano Santos <luc1...@opensuse.org> + +- Update to version 2023.6: + + Signing with ed25519 can now be backed by openssl. + + composefs changes: + - Now enabled at build time (but disabled at runtime) by + default. + - composefs now supports signature verification. Note that + composefs continues to be classified as experimental. + - Configuration format has changed. The old ot-composefs kernel + argument is no longer honored in favor of a configuration + file that should be present in the initramfs. + + ostree-prepare-root other changes: + - A new configuration file in the initramfs is honored: + /etc/ostree/prepare-root.conf. + - This configuration file can also specify the readonly-sysroot + default, which is now recommended. + - The sysroot.readonly flag can now also be configured from + here, and this is recommended. + + ostree admin set-default: A long-overdue CLI verb to change the + default deployment for the next boot. + + sysroot other bugfixes and changes: + - It is now supported to have /usr/etc with an empty /etc. This + is preparatory for supporting a transient /etc. + - Finally fix the global sync timeout at shutdown. + - 'ostree admin deploy' now honors --stateroot as that term is + prefered over --os. + + trivial-httpd: The remnants of the deprecated 'ostree + trivial-httpd' CLI are now completely gone. + +------------------------------------------------------------------- +Fri Jul 7 23:03:35 UTC 2023 - Luciano Santos <luc1...@opensuse.org> + +- Update to version 2023.5: + + This is a bugfix release for the recent 2023.4. + + Key bugs fixed: + - Revert "fetcher: Always open tmpfiles in repo location". + - Fix return value of generator on non-ostree systems. + + Other changes: + - lib/deploy: Use off_t not __off_t. + - prepare-root: Adjust to composefs mount struct changes. + +- Changes from version 2023.4: + + Notable bugfixe: fix ostree deployment on 64-bit inode fs. + + New Feauture: Composefs. + + HTTP/pull fixes: + - ostree-fetcher-curl: explicitly use HTTP1.1 when HTTP2 is + disabled. + - Increase the metadata size limit to 128MB. + - fetcher: Always open tmpfiles in repo location. + + Other changes: + - lib/deploy: Use fallocate for early prune space check. + - prepare-root: Move sysroot.tmp creation earlier. + - lib/deploy: Disambiguate error messages for early prune space + check. + - lib/deploy: skip fallocate call when requested size is 0. + - test-concurrency: Don't lower timeout. + - pull: Add error prefixing for corrupt checksums. + - Add more error prefixing when parsing commit objects. + +- Changes from version 2023.3: + + Many fixes and improvements. + + treegen: Require at least one mutation. + + rust: Bump MSRV to 1.64. + + fetcher/soup3: Rewrite without threads. + + fetcher: add libsoup3 backend. + + lib/sysroot-cleanup: Convert bootdir listing to dfd-relative. + + lib/sysroot-cleanup: Make some static utility functions global. + + libotutil: add utility functions for calculating directory + size. + + lib/sysroot-deploy: Nuke finalize-failure.stamp on successful + finalization. + + lib/sysroot-deploy: Add experimental support for automatic + early prune. + +- Define libversion and soversion and replace hard coded values + with them to ease package maintenance. +- Add pkgconfig(libsoup-3.0) >= 3.0.0 build requirement and pass + --with-soup3 to configure. Libcurl needs it for tests and for the + trivial-httpd binary, also we've been waiting for upstream to + port to Soup 3, in order to re-enable it. +- Pass --with-composefs to configure, under the condition of + building with composefs, while defining %bcond_with composefs + (not enabled, by default) for now. +- Switch fuse with fuse3 pkgconfig() module BuildRequires, because + Fuse 3 is preffered over Fuse 2. +- Drop --with-gjs option passed to configure. It's not recognized + anymore, and configure script looks for gjs binary instead, + acting accordingly. +- Add %ghost /run/ostree to the main package files directive. This + directory is created via %{_tmpfilesdir}/ostree-tmpfiles.conf. +- Mark /etc/grub.d/*ostree and /etc/dracut.conf.d/ostree.conf with + %config to instruct RPM those are config files. +- Make the grub2 sub-package as noarch, since it doesn't have any + binaries. +- Refresh ostree-grub2-location.patch with Quilt. + +------------------------------------------------------------------- Old: ---- libostree-2023.2.tar.xz New: ---- libostree-2023.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libostree.spec ++++++ --- /var/tmp/diff_new_pack.FzCxIo/_old 2023-08-30 10:21:01.973324909 +0200 +++ /var/tmp/diff_new_pack.FzCxIo/_new 2023-08-30 10:21:01.977325052 +0200 @@ -17,10 +17,14 @@ %define _dracutmodulesdir %(pkg-config --variable dracutmodulesdir dracut) +%define libversion 1 +%define soversion 1 +%bcond_with composefs %bcond_without ed25519 %bcond_with tests + Name: libostree -Version: 2023.2 +Version: 2023.6 Release: 0 Summary: Git for operating system binaries License: LGPL-2.0-or-later @@ -29,10 +33,8 @@ Source: https://github.com/ostreedev/ostree/releases/download/v%{version}/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE ostree-grub2-location.patch boo#974714 dims...@opensuse.org -- Fix path to grub-mkconfig_lib Patch0: ostree-grub2-location.patch + BuildRequires: bison -%if %{with tests} -BuildRequires: gjs -%endif BuildRequires: gnome-common BuildRequires: gobject-introspection-devel >= 1.34.0 BuildRequires: libattr-devel @@ -40,23 +42,29 @@ BuildRequires: pkgconfig BuildRequires: pkgconfig(dracut) BuildRequires: pkgconfig(e2p) -BuildRequires: pkgconfig(fuse) >= 2.9.2 +BuildRequires: pkgconfig(fuse3) >= 3.1.1 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.66.0 BuildRequires: pkgconfig(gpgme) >= 1.8.0 BuildRequires: pkgconfig(libarchive) >= 2.8.0 BuildRequires: pkgconfig(libcurl) >= 7.29.0 BuildRequires: pkgconfig(liblzma) >= 5.0.5 +# Using libcurl requires Soup for tests +BuildRequires: pkgconfig(libsoup-3.0) >= 3.0.0 BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(mount) >= 2-23.0 +BuildRequires: pkgconfig(mount) >= 2.23.0 BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(zlib) -# Package was renamed from ostree to libostree with version 2017.2 -Provides: ostree = %{version} -Obsoletes: ostree < %{version} +%if %{with tests} +BuildRequires: gjs +%endif %if %{with ed25519} BuildRequires: pkgconfig(libsodium) >= 1.0.14 %endif +# Package was renamed from ostree to libostree with version 2017.2 +Provides: ostree = %{version} +Obsoletes: ostree < %{version} + %description OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional @@ -65,11 +73,11 @@ those levels, offering a blend of the advantages (and disadvantages) of both. -%package -n libostree-1-1 +%package -n libostree-%{libversion}-%{soversion} Summary: Git for operating system binaries Group: System/Libraries -%description -n libostree-1-1 +%description -n libostree-%{libversion}-%{soversion} OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional "package managers" like dpkg and rpm, it is not a package system; nor @@ -77,11 +85,11 @@ those levels, offering a blend of the advantages (and disadvantages) of both. -%package -n typelib-1_0-OSTree-1_0 +%package -n typelib-1_0-OSTree-%{soversion}_0 Summary: Git for operating system binaries -- GObject bindings Group: System/Libraries -%description -n typelib-1_0-OSTree-1_0 +%description -n typelib-1_0-OSTree-%{soversion}_0 OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional "package managers" like dpkg and rpm, it is not a package system; nor @@ -101,6 +109,7 @@ %else Requires: grub2-efi %endif +BuildArch: noarch %description grub2 GRUB2 integration for OSTree @@ -110,8 +119,8 @@ Summary: Git for operating system binaries -- Development files # Package was renamed from ostree to libostree with version 2017.2 Group: Development/Languages/C and C++ -Requires: libostree-1-1 = %{version} -Requires: typelib-1_0-OSTree-1_0 = %{version} +Requires: libostree-%{libversion}-%{soversion} = %{version} +Requires: typelib-1_0-OSTree-%{soversion}_0 = %{version} Provides: ostree-devel = %{version} Obsoletes: ostree-devel < %{version} @@ -128,17 +137,16 @@ %build %configure \ +%if %{with composefs} + --with-composefs \ +%endif --with-dracut \ %if %{with ed25519} --with-ed25519-libsodium \ %endif -%if %{with tests} - --with-gjs=yes \ -%else - --with-gjs=no \ -%endif - --with-curl=yes \ - --with-soup=no \ + --with-curl \ + --without-soup \ + --with-soup3 \ %{nil} %make_build @@ -151,7 +159,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcostree-prepare-root ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcostree-remount -%ldconfig_scriptlets -n libostree-1-1 +%ldconfig_scriptlets -n libostree-%{libversion}-%{soversion} %pre %service_add_pre ostree-prepare-root.service @@ -199,8 +207,6 @@ %dir %{_libexecdir}/libostree %{_prefix}/lib/ostree/ostree-prepare-root %{_prefix}/lib/ostree/ostree-remount -# Lost in move to curl, needs soup, but upstream have not yet ported to soup3 -#%%{_libexecdir}/libostree/ostree-trivial-httpd %{_dracutmodulesdir}/98ostree/ %{_unitdir}/ostree-prepare-root.service %{_unitdir}/ostree-remount.service @@ -209,36 +215,38 @@ %{_unitdir}/ostree-finalize-staged.path %{_unitdir}/ostree-boot-complete.service %dir %{_sysconfdir}/dracut.conf.d -%{_sysconfdir}/dracut.conf.d/ostree.conf +%config %{_sysconfdir}/dracut.conf.d/ostree.conf %{_datadir}/ostree/ %{_sbindir}/rcostree-prepare-root %{_sbindir}/rcostree-remount %{_systemdgeneratordir}/ostree-system-generator %dir %{_tmpfilesdir} %{_tmpfilesdir}/ostree-tmpfiles.conf +# /run/ostree is generated though ostree-tmpfiles.conf +%ghost /run/ostree %exclude %{_sysconfdir}/grub.d/*ostree %exclude %{_libexecdir}/libostree/grub2* -%files -n libostree-1-1 +%files -n libostree-%{libversion}-%{soversion} %license COPYING -%{_libdir}/libostree-1.so.* +%{_libdir}/libostree-%{libversion}.so.%{soversion}* -%files -n typelib-1_0-OSTree-1_0 +%files -n typelib-1_0-OSTree-%{soversion}_0 %license COPYING -%{_libdir}/girepository-1.0/OSTree-1.0.typelib +%{_libdir}/girepository-1.0/OSTree-%{soversion}.0.typelib %files devel %license COPYING -%{_includedir}/ostree-1/ -%{_libdir}/libostree-1.so -%{_libdir}/pkgconfig/ostree-1.pc -%{_datadir}/gir-1.0/OSTree-1.0.gir +%{_includedir}/ostree-%{libversion}/ +%{_libdir}/libostree-%{libversion}.so +%{_libdir}/pkgconfig/ostree-%{libversion}.pc +%{_datadir}/gir-1.0/OSTree-%{soversion}.0.gir %ifnarch s390 s390x %{arm} %files grub2 %license COPYING %dir %{_sysconfdir}/grub.d/ -%{_sysconfdir}/grub.d/*ostree +%config %{_sysconfdir}/grub.d/*ostree %{_libexecdir}/libostree/grub2* %endif ++++++ libostree-2023.2.tar.xz -> libostree-2023.6.tar.xz ++++++ ++++ 92841 lines of diff (skipped) ++++++ ostree-grub2-location.patch ++++++ --- /var/tmp/diff_new_pack.FzCxIo/_old 2023-08-30 10:21:02.441341615 +0200 +++ /var/tmp/diff_new_pack.FzCxIo/_new 2023-08-30 10:21:02.441341615 +0200 @@ -1,8 +1,6 @@ -Index: libostree-2018.8/src/boot/grub2/grub2-15_ostree -=================================================================== ---- libostree-2018.8.orig/src/boot/grub2/grub2-15_ostree -+++ libostree-2018.8/src/boot/grub2/grub2-15_ostree -@@ -39,7 +39,7 @@ set -e +--- a/src/boot/grub2/grub2-15_ostree ++++ b/src/boot/grub2/grub2-15_ostree +@@ -47,7 +47,7 @@ set -e # it's a lot better than reimplementing the config-generating bits of # OSTree in shell script.