# Minimum compatible version %global libdnf5_minver 5.2.17.0 %global tukit_minver 3.6.2 Name: libdnf-plugin-txnupd Version: 0.2.0 Release: 1%{?dist} Summary: libdnf5 plugin to implement transactional updates License: LGPL-2.1-or-later URL: https://gitlab.com/VelocityLimitless/Projects/libdnf-plugin-txnupd Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz # Temporary until all supported releases have DNF 5.4+ Patch1001: libdnf-plugin-txnupd-Downgrade-dnf5-dependency.patch BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: pkgconfig(libdnf5) >= %{libdnf5_minver} BuildRequires: pkgconfig(tukit) >= %{tukit_minver} %description This package contains the plugin to implement transactional updates as a libdnf5 plugin. This plugin hooks into libdnf5 for DNF and PackageKit to enable this functionality in normal use. %package -n libdnf5-plugin-txnupd Summary: libdnf5 plugin to implement transactional updates # Replace the old plugin Obsoletes: %{name} < %{version}-%{release} Provides: %{name} = %{version}-%{release} Provides: %{name}%{?_isa} = %{version}-%{release} # We need a minimum version of these libraries beyond soname for working APIs Requires: libdnf5%{?_isa} >= %{libdnf5_minver} Requires: libtukit%{?_isa} >= %{tukit_minver} # We need the transactional update dracut module Requires: dracut-transactional-update # To ensure directories for configuration files are in place Requires: dnf-data # This is intended to be used alongside DNF5 and PackageKit Recommends: (dnf5 or PackageKit) # Do not permit normal DNF snapper plugin on the same system Conflicts: dnf5-actions-snapper %description -n libdnf5-plugin-txnupd This package contains the plugin to implement transactional updates as a libdnf5 plugin. This plugin hooks into libdnf5 for DNF5 and PackageKit to enable this functionality in normal use. %prep %autosetup -p1 %conf %meson %build %meson_build %install %meson_install # Add configuration to mark this package as protected by libdnf mkdir -p %{buildroot}%{_sysconfdir}/dnf/protected.d echo "libdnf5-plugin-txnupd" > %{buildroot}%{_sysconfdir}/dnf/protected.d/txnupd.conf %files -n libdnf5-plugin-txnupd %license LICENSE %doc README.md %{_libdir}/libdnf5/plugins/txnupd.so %{_sysconfdir}/dnf/protected.d/txnupd.conf %{_sysconfdir}/dnf/libdnf5-plugins/txnupd.conf %changelog * Sun Feb 22 2026 Neal Gompa - 0.2.0-1 - Rebase to 0.2.0 to port to libdnf5 * Fri Jan 16 2026 Fedora Release Engineering - 0.1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Dec 05 2025 Neal Gompa - 0.1.3-16 - Rebuild for transactional-update 6.0.0 * Mon Dec 01 2025 Neal Gompa - 0.1.3-15 - Rebuild for transactional-update 5.5.1 - Switch to new upstream source * Thu Jul 24 2025 Fedora Release Engineering - 0.1.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 0.1.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Dec 20 2024 Neal Gompa - 0.1.3-12 - Rebuild for transactional-update 4.8 again * Wed Oct 16 2024 Neal Gompa - 0.1.3-11 - Rebuild for transactional-update 4.8 - Use correct SPDX identifiers * Mon Sep 02 2024 Miroslav Suchý - 0.1.3-10 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 0.1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 26 2021 Neal Gompa - 0.1.3-1 - Update to 0.1.3 * Sun Mar 07 2021 Neal Gompa - 0.1.2-1 - Rebase to 0.1.2 - Add protected.d file for self-protection * Mon Feb 01 2021 Neal Gompa - 0.0.0~git20210127.6a91d55-0.1 - Update to support tukit 3.0.0 * Tue Dec 29 2020 Neal Gompa - 0.0.0~git20201223.2f7a284-0.2 - Add dracut-transactional-update dependency * Thu Dec 24 2020 Neal Gompa - 0.0.0~git20201223.2f7a284-0.1 - Initial packaging