diff --git a/dnf-plugins-core-4.0.24.tar.gz b/dnf-plugins-core-4.0.24.tar.gz deleted file mode 100644 index fc88340080d748eaa8421d61de67008dd7033454..0000000000000000000000000000000000000000 Binary files a/dnf-plugins-core-4.0.24.tar.gz and /dev/null differ diff --git a/dnf-plugins-core-4.3.1.tar.gz b/dnf-plugins-core-4.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2758fcd0a095c97bd3e5703478a9c1e1edb73de0 Binary files /dev/null and b/dnf-plugins-core-4.3.1.tar.gz differ diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 562b6eab08efefd4c9756e13b74da4b602652b60..04725b69504eb26341ca7d91f43db19c053c437f 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -1,9 +1,9 @@ -%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.22} +%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.11.0} %global dnf_plugins_extra 2.0.0 -%global hawkey_version 0.46.1 +%global hawkey_version 0.64.0 %global yum_utils_subpackage_name yum-utils -%define anolis_release 2 +%define anolis_release 1 %define __cmake_in_source_build 1 %bcond_without python3 %bcond_without yumcompatibility @@ -11,7 +11,7 @@ %bcond_without yumutils Name: dnf-plugins-core -Version: 4.0.24 +Version: 4.3.1 Release: %{anolis_release}%{?dist} Summary: Core Plugins for DNF License: GPLv2+ @@ -220,6 +220,27 @@ versions of those packages. This allows you to e.g. protect packages from being updated by newer versions. %endif +%if %{with python3} +%package -n python3-dnf-plugin-modulesync +Summary: Download module metadata and packages and create repository +Requires: python3-%{name} = %{version}-%{release} +Requires: createrepo_c >= 0.17.4 +Provides: dnf-plugin-modulesync = %{version}-%{release} +Provides: dnf-command(modulesync) + +%description -n python3-dnf-plugin-modulesync +Download module metadata from all enabled repositories, module artifacts and profiles of matching modules and create +repository. +%endif + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -p1 %if %{with python3} @@ -313,7 +334,6 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/ %if %{with python3} %files -n python3-%{name} -f %{name}.lang %license COPYING -%doc AUTHORS README.rst %ghost %attr(644,-,-) %{_var}/cache/dnf/packages.db %config(noreplace) %{_sysconfdir}/dnf/plugins/copr.conf %config(noreplace) %{_sysconfdir}/dnf/plugins/copr.d @@ -427,10 +447,6 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/ %{_mandir}/man8/dnf-local.* %endif -%if %{with python3} -%exclude %{_mandir}/man8/dnf-migrate.* -%endif - %if %{with python3} %files -n python3-dnf-plugin-post-transaction-actions @@ -465,7 +481,21 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/ %endif %endif +%if %{with python3} +%files -n python3-dnf-plugin-modulesync +%{python3_sitelib}/dnf-plugins/modulesync.* +%{python3_sitelib}/dnf-plugins/__pycache__/modulesync.* +%{_mandir}/man8/dnf-modulesync.* +%endif + +%files doc +%doc AUTHORS README.rst + %changelog +* Tue Jan 31 2023 yuanhui - 4.3.1-1 +- update to 4.3.1 +- add doc package + * Fri May 20 2022 Chunmei Xu - 4.0.24-2 - add compat for yum