]> git.pld-linux.org Git - packages/dnf-plugins-core.git/commitdiff
up to 4.4.2 auto/th/dnf-plugins-core-4.4.2-1
authorJan Palus <atler@pld-linux.org>
Thu, 7 Sep 2023 08:57:17 +0000 (10:57 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 7 Sep 2023 08:57:17 +0000 (10:57 +0200)
dnf-plugins-core.spec

index ecb0dc4c3c3da28e0da65940f9541a19eff6da8a..fad8eab207c46bbce4b7a91067e4c243aadecf8f 100644 (file)
@@ -5,23 +5,25 @@
 #
 Summary:       Core Plugins for DNF
 Name:          dnf-plugins-core
-Version:       4.2.0
-Release:       2
+Version:       4.4.2
+Release:       1
 License:       GPL v2+
 Source0:       https://github.com/rpm-software-management/dnf-plugins-core/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 7f18b00a45508782256690c3a02fc8fc
+# Source0-md5: afd6975140ff877f0e7a4da088fa4e2e
 Patch0:                install.patch
 Patch1:                migrate3.patch
 URL:           https://github.com/rpm-software-management/dnf-plugins-core
 BuildRequires: cmake >= 2.4
 BuildRequires: dnf >= 4.11.0
 BuildRequires: gettext
+BuildRequires: pkgconfig
 BuildRequires: python3-dbus
 BuildRequires: python3-devel
 BuildRequires: python3-modules
 BuildRequires: python3-nose
 BuildRequires: rpmbuild(macros) >= 1.605
 BuildRequires: sphinx-pdg
+BuildRequires: systemd-devel
 Requires:      dnf >= 4.11.0
 Requires:      python3-dateutil
 Requires:      python3-dbus
@@ -107,6 +109,13 @@ Requires:  dnf-plugin-leaves = %{version}-%{release}
 Show-leaves Plugin for DNF. List all installed packages that are no
 longer required by any other installed package after a transaction.
 
+%package -n dnf-plugin-system-upgrade
+Summary:       System Upgrade Plugin for DNF
+Requires:      %{name} = %{version}-%{release}
+
+%description -n dnf-plugin-system-upgrade
+System Upgrade Plugin for DNF.
+
 %package -n dnf-plugin-versionlock
 Summary:       Version Lock Plugin for DNF
 Requires:      %{name} = %{version}-%{release}
@@ -126,6 +135,8 @@ protect packages from being updated by newer versions.
 
 mkdir build
 
+%{__sed} -i -e s/dnf-3/dnf/ etc/systemd/dnf-system-upgrade.service
+
 %build
 cd build
 %cmake ../ \
@@ -325,6 +336,14 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitescriptdir}/dnf-plugins/__pycache__/show_leaves.*
 %{_mandir}/man8/dnf-show-leaves.8*
 
+%files -n dnf-plugin-system-upgrade
+%defattr(644,root,root,755)
+%{py3_sitescriptdir}/dnf-plugins/system_upgrade.*
+%{py3_sitescriptdir}/dnf-plugins/__pycache__/system_upgrade.*
+%{systemdunitdir}/dnf-system-upgrade-cleanup.service
+%{systemdunitdir}/dnf-system-upgrade.service
+%{_mandir}/man8/dnf-system-upgrade.8*
+
 %files -n dnf-plugin-versionlock
 %defattr(644,root,root,755)
 %config(noreplace) %{_sysconfdir}/dnf/plugins/versionlock.conf
This page took 0.206988 seconds and 4 git commands to generate.