From 079086ec4fd07c479ef927542b9725d0e0741a15 Mon Sep 17 00:00:00 2001 From: chenhaixing Date: Thu, 1 Dec 2022 20:21:27 +0800 Subject: [PATCH] modify incorrect contents in spec file --- dnf-plugins-core.spec | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 408ef95..53c2a24 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -1,13 +1,13 @@ %global dnf_lowest_compatible 4.11.0 %global dnf_plugins_extra 2.0.0 -%global hawkey_version 0.64.1 +%global hawkey_version 0.64.0 %bcond_without yumcompatibility %bcond_without yumutils Name: dnf-plugins-core Version: 4.3.1 -Release: 1 +Release: 2 Summary: Core Plugins for DNF License: GPLv2+ URL: https://github.com/rpm-software-management/dnf-plugins-core @@ -139,7 +139,7 @@ required by any other installed package after a transaction. %package -n python3-dnf-plugin-local Summary: Local Plugin for DNF -Requires: createrepo_c >= 0.17.4 python3-%{name} = %{version}-%{release} +Requires: createrepo_c python3-%{name} = %{version}-%{release} Provides: dnf-plugin-local = %{version}-%{release} Provides: python3-dnf-plugins-extras-local = %{version}-%{release} Provides: dnf-plugins-extras-local = %{version}-%{release} @@ -151,6 +151,18 @@ Obsoletes: python3-dnf-plugins-extras-local < %{dnf_plugins_extra} Local Plugin for DNF, Python 3 version. Automatically copy all downloaded packages to a repository on the local filesystem and generating repo metadata. +%package -n python3-dnf-plugin-modulesync +Summary: Download module metadata and package 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. + + %package_help %prep @@ -233,7 +245,6 @@ popd %{python3_sitelib}/dnf-plugins/download.py %{python3_sitelib}/dnf-plugins/generate_completion_cache.py %{python3_sitelib}/dnf-plugins/groups_manager.py -%{python3_sitelib}/dnf-plugins/modulesync.* %{python3_sitelib}/dnf-plugins/needs_restarting.py %{python3_sitelib}/dnf-plugins/repoclosure.py %{python3_sitelib}/dnf-plugins/repodiff.py @@ -249,7 +260,6 @@ popd %{python3_sitelib}/dnf-plugins/__pycache__/download.* %{python3_sitelib}/dnf-plugins/__pycache__/generate_completion_cache.* %{python3_sitelib}/dnf-plugins/__pycache__/groups_manager.* -%{python3_sitelib}/dnf-plugins/__pycache__/modulesync.* %{python3_sitelib}/dnf-plugins/__pycache__/needs_restarting.* %{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.* %{python3_sitelib}/dnf-plugins/__pycache__/repodiff.* @@ -283,6 +293,11 @@ popd %{python3_sitelib}/dnf-plugins/local.* %{python3_sitelib}/dnf-plugins/__pycache__/local.* +%files -n python3-dnf-plugin-modulesync +%{python3_sitelib}/dnf-plugins/modulesync.* +%{python3_sitelib}/dnf-plugins/__pycache__/modulesync.* +%{_mandir}/man8/dnf-modulesync.* + %files help %{_mandir}/man1/debuginfo-install.* %{_mandir}/man1/needs-restarting.* @@ -315,7 +330,6 @@ popd %{_mandir}/man8/dnf-download.* %{_mandir}/man8/dnf-generate_completion_cache.* %{_mandir}/man8/dnf-groups-manager.* -%{_mandir}/man8/dnf-modulesync.* %{_mandir}/man8/dnf-needs-restarting.* %{_mandir}/man8/dnf-repoclosure.* %{_mandir}/man8/dnf-repodiff.* @@ -330,6 +344,9 @@ popd %{_mandir}/man8/dnf-local.* %changelog +* Thu Dec 1 2022 chenhaixing - 4.3.1-2 +- DESC:modify incorrect contents in spec file + * Thu Nov 3 2022 chenhaixing - 4.3.1-1 - DESC:upgrade dnf-plugins-core version to 4.3.1 -- Gitee