Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-sandbox for openSUSE:Factory checked in at 2023-01-06 17:06:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-sandbox (Old) and /work/SRC/openSUSE:Factory/.virt-sandbox.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-sandbox" Fri Jan 6 17:06:10 2023 rev:21 rq:1056366 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-sandbox/virt-sandbox.changes 2022-04-20 17:03:45.067171972 +0200 +++ /work/SRC/openSUSE:Factory/.virt-sandbox.new.1563/virt-sandbox.changes 2023-01-06 17:06:54.588637647 +0100 @@ -1,0 +2,14 @@ +Sun Jan 1 01:01:01 UTC 2023 - [email protected] + +- remove braces from rpmspec macros +- rename so_version macro +- remove obsolete rpm statements +- remove obsolete libvirt_version macro +- update URL to Source0 +- set Release to zero +- link to shared libraries, liblzma provides no static lib anymore +- use pkgconfig() in BuildRequires +- remove obsolete suse_version conditionals +- remove obsolete Group tags + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-sandbox.spec ++++++ --- /var/tmp/diff_new_pack.jWsilk/_old 2023-01-06 17:06:55.060640298 +0100 +++ /var/tmp/diff_new_pack.jWsilk/_new 2023-01-06 17:06:55.064640321 +0100 @@ -1,7 +1,7 @@ # # spec file for package virt-sandbox # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # -%define libvirt_version 1.0.2 -%define sover 1_0-5 +%define so_version 1_0-5 Name: virt-sandbox Version: 0.8.0 -Release: 1%{?dist}%{?extra_release} +Release: 0 URL: http://libvirt.org/ Summary: Libvirt application sandbox framework License: LGPL-2.0-or-later -Group: System/Management -Source0: ftp://libvirt.org/libvirt/sandbox/libvirt-sandbox-%{version}.tar.gz -Source1: %{name}.rpmlintrc +Source0: https://libvirt.org/sources/sandbox/libvirt-sandbox-%version.tar.gz +Source1: %name.rpmlintrc # Patches pending upstream review Patch100: no-unmount-for-lxc-machines.patch @@ -38,54 +36,43 @@ # Need to go upstream -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: glib2-devel >= 2.32.0 -BuildRequires: glibc-devel-static -BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool -BuildRequires: libselinux-devel BuildRequires: libtool -BuildRequires: libvirt-glib-devel >= 0.2.1 BuildRequires: perl -%if 0%{?suse_version} >= 1500 -BuildRequires: libtirpc-devel +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(libselinux) +BuildRequires: pkgconfig(libtirpc) +BuildRequires: pkgconfig(libvirt-glib-1.0) +BuildRequires: pkgconfig(zlib) BuildRequires: rpcgen -%endif -%if 0%{?suse_version} >= 1330 -BuildRequires: xz-static-devel -%endif -BuildRequires: zlib-devel-static -Requires: python3-rpm # For virsh lxc-enter-namespace command -Requires: libvirt-client >= %{libvirt_version} +Requires: libvirt-client Requires: python3-gobject -Requires: systemd >= 198 -# Requires: libselinux-python -Requires: cron -Requires: libvirt-sandbox-%{sover} = %{version}-%{release} +Requires: libvirt-sandbox-%so_version = %version-%release -%package -n libvirt-sandbox-%{sover} +%package -n libvirt-sandbox-%so_version Summary: Libvirt application sandbox framework libraries # So we get the full libvirtd daemon, not just client libs -Group: Development/Libraries/C and C++ -Requires: libvirt-daemon-lxc >= %{libvirt_version} -Requires: libvirt-daemon-qemu >= %{libvirt_version} +Requires: libvirt-daemon-lxc +Requires: libvirt-daemon-qemu %package -n typelib-1_0-LibvirtSandbox-1_0 Summary: GLib and GObject mapping of libvirt-sandbox - gi-bindings -Group: System/Libraries %package -n libvirt-sandbox-devel Summary: Libvirt application sandbox framework development files -Group: Development/Libraries/C and C++ -Requires: libvirt-sandbox-%{sover} = %{version}-%{release} +Requires: libvirt-sandbox-%so_version = %version-%release %description -This package provides a command for running applications within -a sandbox using libvirt. +The %name package provides an API for building application +sandboxes using libvirt. Sandboxes can be based on either container +or machine based virtualization technology. Also included is a simple +command line tool for launching sandboxes for arbitrary commands. -%description -n libvirt-sandbox-%{sover} +%description -n libvirt-sandbox-%so_version This package provides a framework for building application sandboxes using libvirt. @@ -98,66 +85,55 @@ applications within a sandbox using libvirt. %prep -%setup -q -n libvirt-sandbox-%{version} -%patch100 -p1 -%patch200 -p1 -%patch300 -p1 +%autosetup -p1 -n libvirt-sandbox-%version %build -# We may have a more recent version of automake when building -# than the one used to autoconfigure the project for the distribution -# Just make sure the files are sync'ed with our version -#export CFLAGS="%{optflags}" -#export LDFLAGS="-pie" +CFLAGS='%optflags -Wno-deprecated-declarations' autoreconf -f -i %configure --enable-introspection --disable-static -make V=1 %{?_smp_mflags} +%make_build %install chmod a-x examples/*.py examples/*.pl examples/*.js %make_install -rm -f %{buildroot}/%{_libdir}/*.a -rm -f %{buildroot}/%{_libdir}/*.la +rm -f %buildroot/%_libdir/*.a +rm -f %buildroot/%_libdir/*.la %find_lang libvirt-sandbox -%post -n libvirt-sandbox-%{sover} -p /sbin/ldconfig -%postun -n libvirt-sandbox-%{sover} -p /sbin/ldconfig +%post -n libvirt-sandbox-%so_version -p /sbin/ldconfig +%postun -n libvirt-sandbox-%so_version -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%{_bindir}/virt-sandbox -%{_mandir}/man1/virt-sandbox.1* - -%files -n libvirt-sandbox-%{sover} -f libvirt-sandbox.lang -%defattr(-,root,root,-) -%doc README AUTHORS ChangeLog NEWS +%_bindir/virt-sandbox +%_mandir/man1/virt-sandbox.1* + +%files -n libvirt-sandbox-%so_version -f libvirt-sandbox.lang +%doc NEWS %license COPYING -%dir %{_sysconfdir}/libvirt-sandbox -%dir %{_sysconfdir}/libvirt-sandbox/scratch -%config %{_sysconfdir}/libvirt-sandbox/scratch/README -%{_libexecdir}/libvirt-sandbox-init-common -%{_libexecdir}/libvirt-sandbox-init-lxc -%{_libexecdir}/libvirt-sandbox-init-qemu -%{_libdir}/libvirt-sandbox-1.0.so.* +%dir %_sysconfdir/libvirt-sandbox +%dir %_sysconfdir/libvirt-sandbox/scratch +%config %_sysconfdir/libvirt-sandbox/scratch/README +%_libexecdir/libvirt-sandbox-init-common +%_libexecdir/libvirt-sandbox-init-lxc +%_libexecdir/libvirt-sandbox-init-qemu +%_libdir/libvirt-sandbox-1.0.so.* %files -n typelib-1_0-LibvirtSandbox-1_0 -%defattr(-,root,root,-) -%{_libdir}/girepository-1.0/LibvirtSandbox-1.0.typelib +%_libdir/girepository-1.0/LibvirtSandbox-1.0.typelib %files -n libvirt-sandbox-devel -%defattr(-,root,root,-) %doc examples/virt-sandbox.pl %doc examples/virt-sandbox.py %doc examples/virt-sandbox.js %doc examples/virt-sandbox-mkinitrd.py -%{_libdir}/libvirt-sandbox-1.0.so -%{_libdir}/pkgconfig/libvirt-sandbox-1.0.pc -%dir %{_includedir}/libvirt-sandbox-1.0 -%dir %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox -%{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox.h -%{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox-*.h -%{_datadir}/gir-1.0/LibvirtSandbox-1.0.gir -%{_datadir}/gtk-doc/html/Libvirt-sandbox +%_libdir/libvirt-sandbox-1.0.so +%_libdir/pkgconfig/libvirt-sandbox-1.0.pc +%dir %_includedir/libvirt-sandbox-1.0 +%dir %_includedir/libvirt-sandbox-1.0/libvirt-sandbox +%_includedir/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox.h +%_includedir/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox-*.h +%_datadir/gir-1.0/LibvirtSandbox-1.0.gir +%_datadir/gtk-doc/html/Libvirt-sandbox %changelog ++++++ virt-sandbox.patch ++++++ --- /var/tmp/diff_new_pack.jWsilk/_old 2023-01-06 17:06:55.100640523 +0100 +++ /var/tmp/diff_new_pack.jWsilk/_new 2023-01-06 17:06:55.104640546 +0100 @@ -1,13 +1,46 @@ --- a/configure.ac +++ b/configure.ac -@@ -113,6 +113,7 @@ LIBVIRT_SANDBOX_RPCGEN +@@ -87,7 +87,6 @@ AC_ARG_WITH([zlib], + m4_divert_text([DEFAULTS], [with_zlib=yes]) + + orig_pkg_config="$PKG_CONFIG" +-PKG_CONFIG="$PKG_CONFIG --static" + if test "$with_zlib" = "yes" ; then + PKG_CHECK_MODULES(ZLIB, zlib >= $ZLIB_REQUIRED) + AC_DEFINE([WITH_ZLIB], [1], [Whether ZLIB support was enabled]) +@@ -113,9 +112,9 @@ LIBVIRT_SANDBOX_RPCGEN LIBVIRT_SANDBOX_SELINUX LIBVIRT_SANDBOX_XDR +-LIBVIRT_SANDBOX_STATIC_LIBC +-LIBVIRT_SANDBOX_STATIC_LZMA +-LIBVIRT_SANDBOX_STATIC_ZLIB +GTK_DOC_CHECK([1.10],[--flavour no-tmpl]) - LIBVIRT_SANDBOX_STATIC_LIBC - LIBVIRT_SANDBOX_STATIC_LZMA - LIBVIRT_SANDBOX_STATIC_ZLIB ++PKG_CHECK_MODULES(LZMA, liblzma) ++PKG_CHECK_MODULES(ZLIB, zlib) + + dnl search for LDD path + AC_PATH_PROG([LDD_PATH], [ldd]) +--- a/libvirt-sandbox/Makefile.am ++++ b/libvirt-sandbox/Makefile.am +@@ -221,8 +221,6 @@ libvirt_sandbox_init_lxc_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) + libvirt_sandbox_init_lxc_LDFLAGS = \ +- -all-static \ +- -static-pie \ + $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ + $(WARN_CFLAGS) \ + $(NULL) +@@ -236,8 +234,6 @@ libvirt_sandbox_init_qemu_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) + libvirt_sandbox_init_qemu_LDFLAGS = \ +- -all-static \ +- -static-pie \ + $(COVERAGE_CFLAGS:-f%=-Wc,f%) \ + $(ZLIB_LIBS) \ + $(LZMA_LIBS) \ --- a/m4/virt-gtk-misc.m4 +++ b/m4/virt-gtk-misc.m4 @@ -1,5 +1,4 @@
