Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package transactional-update for openSUSE:Factory checked in at 2021-02-08 11:48:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/transactional-update (Old) and /work/SRC/openSUSE:Factory/.transactional-update.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update" Mon Feb 8 11:48:20 2021 rev:67 rq: version:2.28.3 Changes: -------- --- /work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes 2021-02-07 15:14:25.685412687 +0100 +++ /work/SRC/openSUSE:Factory/.transactional-update.new.28504/transactional-update.changes 2021-02-08 11:48:21.661800837 +0100 @@ -2,47 +1,0 @@ -Tue Feb 2 13:53:20 UTC 2021 - Ignaz Forster <ifors...@suse.com> - -- Version 3.1.0 - - t-u: Support installing RPMs from the user's directory again - - Adapt selfupdate to new packaging - - Implement signal handling - - Remove empty text files - -------------------------------------------------------------------- -Mon Feb 1 09:20:44 UTC 2021 - Ignaz Forster <ifors...@suse.com> - -- Add libselinux build time dependency -- Remove RPM version check - -------------------------------------------------------------------- -Mon Feb 1 08:36:36 UTC 2021 - Ignaz Forster <ifors...@suse.com> - -- Fix libstdc++ filesystem ABI incompatibility by using newer gcc - version on old distributions. [boo#1181582] - -------------------------------------------------------------------- -Thu Jan 28 14:25:53 UTC 2021 - Neal Gompa <ngomp...@gmail.com> - -- Rework packaging based on Fedora packaging to separate all the - components to remove the intrinsic requirement for Zypper - -------------------------------------------------------------------- -Wed Jan 27 10:13:53 UTC 2021 - Ignaz Forster <ifors...@suse.com> - -- Version 3.0.0 - - This release changes the internal structure, but should be - identical to the previous release feature wise. - - Major parts of the previous Bash only application have been - rewritten in C++ with the goal to provide an API around - transactions; the transactional-update script is using that - new interface internally already, however the API should - be considered experimental for now - if you are interested to - use it, please notify us in - https://github.com/openSUSE/transactional-update/issues/52 - - A new tool called "tukit" provides a C++ tool that can be - wrapped by scripts to leverage the functionality. Please - consider it experimental for now, the commands may still change. - - Bugfixes: - - Implement support for system offline update [boo#1180808] - - Add statistics files to update environment [boo#1173282] - -------------------------------------------------------------------- Old: ---- transactional-update-3.1.0.tar.gz New: ---- transactional-update-2.28.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ transactional-update.spec ++++++ --- /var/tmp/diff_new_pack.TRWFjL/_old 2021-02-08 11:48:22.201801713 +0100 +++ /var/tmp/diff_new_pack.TRWFjL/_new 2021-02-08 11:48:22.205801720 +0100 @@ -1,8 +1,7 @@ # # spec file for package transactional-update # -# Copyright (c) 2021 SUSE LLC -# Copyright (c) 2021 Neal Gompa +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,58 +16,35 @@ # -%global somajor 0 -%global libprefix libtukit -%global libname %{libprefix}%{somajor} -%global devname %{libprefix}-devel - -# Compatibility macros -%{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}} - Name: transactional-update -Version: 3.1.0 +Version: 2.28.3 Release: 0 Summary: Transactional Updates with btrfs and snapshots -License: GPL-2.0-or-later AND LGPL-2.1-or-later +License: GPL-2.0-or-later Group: System/Base URL: https://github.com/openSUSE/transactional-update -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source: https://github.com/openSUSE/transactional-update/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: transactional-update.check - -BuildRequires: autoconf BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes -%if %{?suse_version} <= 1500 -BuildRequires: gcc10-c++ -%else -BuildRequires: gcc-c++ -%endif -BuildRequires: libtool BuildRequires: libzypp -BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: python3-lxml +BuildRequires: rpm-devel BuildRequires: suse-module-tools -BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(dracut) -BuildRequires: pkgconfig(libeconf) -BuildRequires: pkgconfig(libselinux) -BuildRequires: pkgconfig(mount) -BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) -# Cannot use python3dist() names yet... -BuildRequires: libxml2-tools -BuildRequires: python3-lxml -BuildRequires: w3m -BuildRequires: xsltproc Requires: /usr/bin/bc -Requires: dracut-transactional-update = %{version}-%{release} +Requires: btrfsprogs Requires: logrotate Requires: lsof # psmisc is needed because of fuser Requires: psmisc -Requires: tukit = %{version}-%{release} +Requires: rsync +Requires: snapper Requires: zypper Recommends: inotify-tools Recommends: rebootmgr @@ -77,77 +53,15 @@ transactional-update is a tool to update a system in an atomic way with zypper, btrfs and snapshots. -%package -n tukit -Summary: Tool for doing transactional updates using Btrfs snapshots -License: GPL-2.0-or-later -Group: System/Base -Requires: %{libname}%{?_isa} = %{version}-%{release} -Conflicts: transactional-update < 3.0.0 - -%description -n tukit -tukit is a simple tool to make changes to a system in an atomic way -with btrfs and snapshots. - -%package -n dracut-%{name} -Summary: Dracut module for supporting transactional updates -License: GPL-2.0-or-later -Group: System/Boot -Supplements: (tukit and kernel) -Requires: tukit = %{version}-%{release} -BuildArch: noarch -Conflicts: transactional-update < 3.0.0 - -%description -n dracut-%{name} -This package contains the dracut modules for handling early boot aspects -for transactional updates. - -%package -n %{libname} -Summary: Library for doing transactional updates using Btrfs snapshots -License: LGPL-2.1-or-later -Group: System/Libraries -Requires: btrfsprogs -Requires: rsync -Requires: snapper - -%description -n %{libname} -This package contains the libraries required for programs to do -transactional updates using btrfs snapshots. - -%package -n %{devname} -Summary: Development files for tukit library -License: LGPL-2.1-or-later -Group: Development/Libraries/C and C++ -Provides: tukit-devel = %{version}-%{release} -Provides: tukit-devel%{?_isa} = %{version}-%{release} -Requires: %{libname}%{?_isa} = %{version}-%{release} - -%description -n %{devname} -This package contains the files required to develop programs to do -transactional updates using btrfs snapshots. - -%package zypp-config -Summary: Zypper rule to prevent uninstallation of transactional-update -License: GPL-2.0-or-later AND LGPL-2.1-or-later -Group: System/Base -BuildArch: noarch -Requires: transactional-update = %{version}-%{release} - -%description zypp-config -Adds a zypper rule to prevent accidental uninstallation of -transactional-update. - - %prep -%autosetup -p1 +%setup -q %build -%if %{?suse_version} <= 1500 -export CXX=g++-10 -%endif -autoreconf -fiv -%configure --with-doc --docdir=%{_docdir}/%{name} --disable-static -%make_build - +if [ -x autogen.sh ]; then + ./autogen.sh +fi +%configure --with-doc --docdir=%{_docdir}/%{name} +make %{?_smp_mflags} # Use "up" for non-rolling releases %if %{defined sle_version} && %{undefined is_susecasp} sed -i 's/^UPDATE_METHOD=.*/UPDATE_METHOD=up/' etc/transactional-update.conf @@ -155,49 +69,26 @@ %install %make_install - -%fdupes %{buildroot}%{_mandir} - -# Install zypp config files mkdir -p %{buildroot}%{_sysconfdir}/zypp/systemCheck.d/ install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/zypp/systemCheck.d/ +%fdupes %{buildroot}%{_mandir} -# Delete libtool cruft -rm -rf %{buildroot}%{_libdir}/*.la - -# Delete unwanted HTML documentation -rm -rf %{buildroot}%{_docdir}/%{name}/*.html +%pre +%service_add_pre %{name}.service %{name}.timer create-dirs-from-rpmdb.service %post -%systemd_post %{name}.service %{name}.timer - -%preun -%systemd_preun %{name}.service %{name}.timer - -%postun -%systemd_postun %{name}.service %{name}.timer - -%post -n tukit -%systemd_post create-dirs-from-rpmdb.service - -%preun -n tukit -%systemd_preun create-dirs-from-rpmdb.service - -%postun -n tukit -%systemd_postun create-dirs-from-rpmdb.service - -%post -n dracut-%{name} +%service_add_post %{name}.service %{name}.timer create-dirs-from-rpmdb.service %regenerate_initrd_post -%posttrans -n dracut-%{name} +%posttrans %regenerate_initrd_posttrans -%postun -n dracut-%{name} -%regenerate_initrd_post - -%post -n %{libname} -p /sbin/ldconfig +%preun +%service_del_preun %{name}.service %{name}.timer create-dirs-from-rpmdb.service -%postun -n %{libname} -p /sbin/ldconfig +%postun +%service_del_postun %{name}.service %{name}.timer create-dirs-from-rpmdb.service +%regenerate_initrd_post %files %license COPYING @@ -206,40 +97,30 @@ %config(noreplace) %{_sysconfdir}/logrotate.d/transactional-update %{_unitdir}/transactional-update.service %{_unitdir}/transactional-update.timer +%{_unitdir}/create-dirs-from-rpmdb.service +%{_sbindir}/create_dirs_from_rpmdb %{_sbindir}/transactional-update %{_sbindir}/tu-rebuild-kdump-initrd -%if %{?suse_version} <= 1500 -%dir %{_distconfdir} -%endif -%{_distconfdir}/transactional-update.conf -%{_mandir}/man5/transactional-update.conf.5* -%{_mandir}/man8/transactional-update.8* -%{_mandir}/man8/transactional-update.timer.8* -%{_mandir}/man8/transactional-update.service.8* - -%files -n tukit -%license COPYING gpl-2.0.txt -%doc README.md NEWS -%{_sbindir}/tukit -%{_sbindir}/create_dirs_from_rpmdb -%{_unitdir}/create-dirs-from-rpmdb.service - -%files -n dracut-%{name} -%license COPYING gpl-2.0.txt -%doc README.md NEWS +%dir %{_prefix}%{_sysconfdir} +%{_prefix}%{_sysconfdir}/transactional-update.conf %dir %{_prefix}/lib/dracut %dir %{_prefix}/lib/dracut/modules.d %{_prefix}/lib/dracut/modules.d/50transactional-update/ +%{_mandir}/man5/transactional-update.conf.5%{?ext_man} +%{_mandir}/man8/transactional-update.8%{?ext_man} +%{_mandir}/man8/transactional-update.timer.8%{?ext_man} +%{_mandir}/man8/transactional-update.service.8%{?ext_man} +%exclude %{_docdir}/%{name}/*.html -%files -n %{libname} -%license COPYING lgpl-2.1.txt -%{_libdir}/libtukit.so.%{somajor}{,.*} - -%files -n %{devname} -%license COPYING lgpl-2.1.txt -%{_includedir}/tukit/ -%{_libdir}/libtukit.so -%{_libdir}/pkgconfig/tukit.pc +%package zypp-config +Summary: Zypper rule to prevent uninstallation of transactional-update +Group: System/Base +BuildArch: noarch +Requires: transactional-update + +%description zypp-config +Adds a zypper rule to prevent accidental uninstallation of +transactional-update. %files zypp-config %config(noreplace) %{_sysconfdir}/zypp/systemCheck.d/transactional-update.check ++++++ transactional-update-3.1.0.tar.gz -> transactional-update-2.28.3.tar.gz ++++++ ++++ 4710 lines of diff (skipped)