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-18 20:39:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Thu Feb 18 20:39:40 2021 rev:68 rq:873083 version:3.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes
2021-02-08 11:48:21.661800837 +0100
+++
/work/SRC/openSUSE:Factory/.transactional-update.new.28504/transactional-update.changes
2021-02-18 20:50:15.175317660 +0100
@@ -1,0 +2,82 @@
+Wed Feb 17 08:44:18 UTC 2021 - Ignaz Forster <[email protected]>
+
+- Version 3.1.4
+ - SELinux: Fix syncing of SELinux attributes when using overlays
+ - SELinux: Tag the overlay directory itself (again)
+
+-------------------------------------------------------------------
+Mon Feb 15 13:10:39 UTC 2021 - Ignaz Forster <[email protected]>
+
+- Version 3.1.3
+ - Fix overlay syncing on SELinux systems
+ - Fix resuming transactions where the parent does not exist any more
+
+-------------------------------------------------------------------
+Fri Feb 12 12:29:27 UTC 2021 - Ignaz Forster <[email protected]>
+
+- Version 3.1.2
+ - libtukit: Report when application was terminated due to a signal, and
+ return the signal number as a return value. This will cause the
+ transaction to be aborted when called via `execute`.
+ - libtukit: Set PATH variable for internal commands to fixed value to
+ find the helper applications, as in some environments such as PolicyKit
+ PATH wouldn't be set.
+ - Fix compiler warnings
+
+-------------------------------------------------------------------
+Tue Feb 9 21:15:52 UTC 2021 - Ignaz Forster <[email protected]>
+
+- Version 3.1.1
+ - Fix hang in tukit on aarch64 [bsc#1181844]
+ - Prevent deletion of snapshots when resuming a snapshot where no
+ transaction is open
+ - Make tukit work in non-dbus environments [boo#1181934]
+
+-------------------------------------------------------------------
+Tue Feb 2 13:53:20 UTC 2021 - Ignaz Forster <[email protected]>
+
+- 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 <[email protected]>
+
+- Add libselinux build time dependency
+- Remove RPM version check
+
+-------------------------------------------------------------------
+Mon Feb 1 08:36:36 UTC 2021 - Ignaz Forster <[email protected]>
+
+- 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 <[email protected]>
+
+- 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 <[email protected]>
+
+- 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-2.28.3.tar.gz
New:
----
transactional-update-3.1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.gmW3x0/_old 2021-02-18 20:50:15.711318184 +0100
+++ /var/tmp/diff_new_pack.gmW3x0/_new 2021-02-18 20:50:15.715318188 +0100
@@ -1,7 +1,8 @@
#
# spec file for package transactional-update
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2021 Neal Gompa
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +17,58 @@
#
+%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: 2.28.3
+Version: 3.1.4
Release: 0
Summary: Transactional Updates with btrfs and snapshots
-License: GPL-2.0-or-later
+License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Base
URL: https://github.com/openSUSE/transactional-update
-Source:
https://github.com/openSUSE/transactional-update/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0: %{url}/archive/v%{version}/%{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: pkgconfig
-BuildRequires: python3-lxml
-BuildRequires: rpm-devel
+BuildRequires: make
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: btrfsprogs
+Requires: dracut-transactional-update = %{version}-%{release}
Requires: logrotate
Requires: lsof
# psmisc is needed because of fuser
Requires: psmisc
-Requires: rsync
-Requires: snapper
+Requires: tukit = %{version}-%{release}
Requires: zypper
Recommends: inotify-tools
Recommends: rebootmgr
@@ -53,15 +77,77 @@
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
-%setup -q
+%autosetup -p1
%build
-if [ -x autogen.sh ]; then
- ./autogen.sh
-fi
-%configure --with-doc --docdir=%{_docdir}/%{name}
-make %{?_smp_mflags}
+%if %{?suse_version} <= 1500
+export CXX=g++-10
+%endif
+autoreconf -fiv
+%configure --with-doc --docdir=%{_docdir}/%{name} --disable-static
+%make_build
+
# 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
@@ -69,27 +155,50 @@
%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}
-%pre
-%service_add_pre %{name}.service %{name}.timer create-dirs-from-rpmdb.service
+# Delete libtool cruft
+rm -rf %{buildroot}%{_libdir}/*.la
-%post
-%service_add_post %{name}.service %{name}.timer create-dirs-from-rpmdb.service
-%regenerate_initrd_post
+# Delete unwanted HTML documentation
+rm -rf %{buildroot}%{_docdir}/%{name}/*.html
-%posttrans
-%regenerate_initrd_posttrans
+%post
+%systemd_post %{name}.service %{name}.timer
%preun
-%service_del_preun %{name}.service %{name}.timer create-dirs-from-rpmdb.service
+%systemd_preun %{name}.service %{name}.timer
%postun
-%service_del_postun %{name}.service %{name}.timer
create-dirs-from-rpmdb.service
+%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}
+%regenerate_initrd_post
+
+%posttrans -n dracut-%{name}
+%regenerate_initrd_posttrans
+
+%postun -n dracut-%{name}
%regenerate_initrd_post
+%post -n %{libname} -p /sbin/ldconfig
+
+%postun -n %{libname} -p /sbin/ldconfig
+
%files
%license COPYING
%doc NEWS
@@ -97,30 +206,40 @@
%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
-%dir %{_prefix}%{_sysconfdir}
-%{_prefix}%{_sysconfdir}/transactional-update.conf
+%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}/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
-%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 -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
%files zypp-config
%config(noreplace) %{_sysconfdir}/zypp/systemCheck.d/transactional-update.check
++++++ transactional-update-2.28.3.tar.gz -> transactional-update-3.1.4.tar.gz
++++++
++++ 4799 lines of diff (skipped)