Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/dnf-plugins-core.git#d9aa49f38bd109e0e1540d233840379c71aa8bce
This commit is contained in:
DistroBaker 2021-01-29 07:33:58 +00:00
parent a22ae4a54e
commit 4e037c1b31
3 changed files with 45 additions and 9 deletions

1
.gitignore vendored
View File

@ -52,3 +52,4 @@
/dnf-plugins-core-4.0.15.tar.gz /dnf-plugins-core-4.0.15.tar.gz
/dnf-plugins-core-4.0.16.tar.gz /dnf-plugins-core-4.0.16.tar.gz
/dnf-plugins-core-4.0.18.tar.gz /dnf-plugins-core-4.0.18.tar.gz
/dnf-plugins-core-4.0.19.tar.gz

View File

@ -33,7 +33,7 @@
%endif %endif
Name: dnf-plugins-core Name: dnf-plugins-core
Version: 4.0.18 Version: 4.0.19
Release: 1%{?dist} Release: 1%{?dist}
Summary: Core Plugins for DNF Summary: Core Plugins for DNF
License: GPLv2+ License: GPLv2+
@ -58,6 +58,7 @@ Provides: dnf-command(debug-dump)
Provides: dnf-command(debug-restore) Provides: dnf-command(debug-restore)
Provides: dnf-command(debuginfo-install) Provides: dnf-command(debuginfo-install)
Provides: dnf-command(download) Provides: dnf-command(download)
Provides: dnf-command(groups-manager)
Provides: dnf-command(repoclosure) Provides: dnf-command(repoclosure)
Provides: dnf-command(repograph) Provides: dnf-command(repograph)
Provides: dnf-command(repomanage) Provides: dnf-command(repomanage)
@ -73,6 +74,7 @@ Provides: dnf-plugin-debuginfo-install = %{version}-%{release}
Provides: dnf-plugin-download = %{version}-%{release} Provides: dnf-plugin-download = %{version}-%{release}
Provides: dnf-plugin-generate_completion_cache = %{version}-%{release} Provides: dnf-plugin-generate_completion_cache = %{version}-%{release}
Provides: dnf-plugin-needs_restarting = %{version}-%{release} Provides: dnf-plugin-needs_restarting = %{version}-%{release}
Provides: dnf-plugin-groups-manager = %{version}-%{release}
Provides: dnf-plugin-repoclosure = %{version}-%{release} Provides: dnf-plugin-repoclosure = %{version}-%{release}
Provides: dnf-plugin-repodiff = %{version}-%{release} Provides: dnf-plugin-repodiff = %{version}-%{release}
Provides: dnf-plugin-repograph = %{version}-%{release} Provides: dnf-plugin-repograph = %{version}-%{release}
@ -87,7 +89,7 @@ Conflicts: dnf-plugins-extras-common-data < %{dnf_plugins_extra}
%description %description
Core Plugins for DNF. This package enhances DNF with builddep, config-manager, Core Plugins for DNF. This package enhances DNF with builddep, config-manager,
copr, debug, debuginfo-install, download, needs-restarting, repoclosure, copr, debug, debuginfo-install, download, needs-restarting, groups-manager, repoclosure,
repograph, repomanage, reposync, changelog and repodiff commands. Additionally repograph, repomanage, reposync, changelog and repodiff commands. Additionally
provides generate_completion_cache passive plugin. provides generate_completion_cache passive plugin.
@ -97,8 +99,10 @@ Summary: Core Plugins for DNF
%{?python_provide:%python_provide python2-%{name}} %{?python_provide:%python_provide python2-%{name}}
BuildRequires: python2-dnf >= %{dnf_lowest_compatible} BuildRequires: python2-dnf >= %{dnf_lowest_compatible}
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: dbus-python
BuildRequires: python-nose BuildRequires: python-nose
%else %else
BuildRequires: python2-dbus
BuildRequires: python2-nose BuildRequires: python2-nose
%endif %endif
BuildRequires: python2-devel BuildRequires: python2-devel
@ -108,8 +112,10 @@ Requires: python2-distro
Requires: python2-dnf >= %{dnf_lowest_compatible} Requires: python2-dnf >= %{dnf_lowest_compatible}
Requires: python2-hawkey >= %{hawkey_version} Requires: python2-hawkey >= %{hawkey_version}
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
Requires: dbus-python
Requires: python-dateutil Requires: python-dateutil
%else %else
Requires: python2-dbus
Requires: python2-dateutil Requires: python2-dateutil
%endif %endif
Provides: python2-dnf-plugins-extras-debug = %{version}-%{release} Provides: python2-dnf-plugins-extras-debug = %{version}-%{release}
@ -129,7 +135,8 @@ Conflicts: python-%{name} < %{version}-%{release}
%description -n python2-%{name} %description -n python2-%{name}
Core Plugins for DNF, Python 2 interface. This package enhances DNF with builddep, Core Plugins for DNF, Python 2 interface. This package enhances DNF with builddep,
config-manager, copr, degug, debuginfo-install, download, needs-restarting, config-manager, copr, degug, debuginfo-install, download, needs-restarting,
repoclosure, repograph, repomanage, reposync, changelog and repodiff commands. groups-manager, repoclosure, repograph, repomanage, reposync, changelog
and repodiff commands.
Additionally provides generate_completion_cache passive plugin. Additionally provides generate_completion_cache passive plugin.
%endif %endif
@ -137,12 +144,15 @@ Additionally provides generate_completion_cache passive plugin.
%package -n python3-%{name} %package -n python3-%{name}
Summary: Core Plugins for DNF Summary: Core Plugins for DNF
%{?python_provide:%python_provide python3-%{name}} %{?python_provide:%python_provide python3-%{name}}
BuildRequires: python3-dbus
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-dnf >= %{dnf_lowest_compatible} BuildRequires: python3-dnf >= %{dnf_lowest_compatible}
BuildRequires: python3-nose BuildRequires: python3-nose
BuildRequires: make
%if 0%{?fedora} %if 0%{?fedora}
Requires: python3-distro Requires: python3-distro
%endif %endif
Requires: python3-dbus
Requires: python3-dnf >= %{dnf_lowest_compatible} Requires: python3-dnf >= %{dnf_lowest_compatible}
Requires: python3-hawkey >= %{hawkey_version} Requires: python3-hawkey >= %{hawkey_version}
Requires: python3-dateutil Requires: python3-dateutil
@ -163,7 +173,8 @@ Conflicts: python-%{name} < %{version}-%{release}
%description -n python3-%{name} %description -n python3-%{name}
Core Plugins for DNF, Python 3 interface. This package enhances DNF with builddep, Core Plugins for DNF, Python 3 interface. This package enhances DNF with builddep,
config-manager, copr, debug, debuginfo-install, download, needs-restarting, config-manager, copr, debug, debuginfo-install, download, needs-restarting,
repoclosure, repograph, repomanage, reposync, changelog and repodiff commands. groups-manager, repoclosure, repograph, repomanage, reposync, changelog
and repodiff commands.
Additionally provides generate_completion_cache passive plugin. Additionally provides generate_completion_cache passive plugin.
%endif %endif
@ -190,8 +201,8 @@ Summary: Yum-utils CLI compatibility layer
%description -n %{yum_utils_subpackage_name} %description -n %{yum_utils_subpackage_name}
As a Yum-utils CLI compatibility layer, supplies in CLI shims for As a Yum-utils CLI compatibility layer, supplies in CLI shims for
debuginfo-install, repograph, package-cleanup, repoclosure, repomanage, debuginfo-install, repograph, package-cleanup, repoclosure, repomanage,
repoquery, reposync, repotrack, repodiff, builddep, config-manager, debug repoquery, reposync, repotrack, repodiff, builddep, config-manager, debug,
and download that use new implementations using DNF. download and yum-groups-manager that use new implementations using DNF.
%endif %endif
%if 0%{?rhel} == 0 && %{with python2} %if 0%{?rhel} == 0 && %{with python2}
@ -458,6 +469,7 @@ ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-builddep
ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-config-manager ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-config-manager
ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-dump ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-dump
ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-restore ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-debug-restore
ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yum-groups-manager
ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yumdownloader ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/yumdownloader
# These commands don't have a dedicated man page, so let's just point them # These commands don't have a dedicated man page, so let's just point them
# to the utils page which contains their descriptions. # to the utils page which contains their descriptions.
@ -468,10 +480,14 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/
%check %check
%if %{with python2} %if %{with python2}
PYTHONPATH=./plugins nosetests-%{python2_version} -s tests/ pushd build-py2
ctest -VV
popd
%endif %endif
%if %{with python3} %if %{with python3}
PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ pushd build-py3
ctest -VV
popd
%endif %endif
%files %files
@ -483,6 +499,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{_mandir}/man8/dnf-debuginfo-install.* %{_mandir}/man8/dnf-debuginfo-install.*
%{_mandir}/man8/dnf-download.* %{_mandir}/man8/dnf-download.*
%{_mandir}/man8/dnf-generate_completion_cache.* %{_mandir}/man8/dnf-generate_completion_cache.*
%{_mandir}/man8/dnf-groups-manager.*
%{_mandir}/man8/dnf-needs-restarting.* %{_mandir}/man8/dnf-needs-restarting.*
%{_mandir}/man8/dnf-repoclosure.* %{_mandir}/man8/dnf-repoclosure.*
%{_mandir}/man8/dnf-repodiff.* %{_mandir}/man8/dnf-repodiff.*
@ -513,6 +530,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{python2_sitelib}/dnf-plugins/debuginfo-install.* %{python2_sitelib}/dnf-plugins/debuginfo-install.*
%{python2_sitelib}/dnf-plugins/download.* %{python2_sitelib}/dnf-plugins/download.*
%{python2_sitelib}/dnf-plugins/generate_completion_cache.* %{python2_sitelib}/dnf-plugins/generate_completion_cache.*
%{python2_sitelib}/dnf-plugins/groups_manager.*
%{python2_sitelib}/dnf-plugins/needs_restarting.* %{python2_sitelib}/dnf-plugins/needs_restarting.*
%{python2_sitelib}/dnf-plugins/repoclosure.* %{python2_sitelib}/dnf-plugins/repoclosure.*
%{python2_sitelib}/dnf-plugins/repodiff.* %{python2_sitelib}/dnf-plugins/repodiff.*
@ -538,6 +556,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{python3_sitelib}/dnf-plugins/debuginfo-install.py %{python3_sitelib}/dnf-plugins/debuginfo-install.py
%{python3_sitelib}/dnf-plugins/download.py %{python3_sitelib}/dnf-plugins/download.py
%{python3_sitelib}/dnf-plugins/generate_completion_cache.py %{python3_sitelib}/dnf-plugins/generate_completion_cache.py
%{python3_sitelib}/dnf-plugins/groups_manager.py
%{python3_sitelib}/dnf-plugins/needs_restarting.py %{python3_sitelib}/dnf-plugins/needs_restarting.py
%{python3_sitelib}/dnf-plugins/repoclosure.py %{python3_sitelib}/dnf-plugins/repoclosure.py
%{python3_sitelib}/dnf-plugins/repodiff.py %{python3_sitelib}/dnf-plugins/repodiff.py
@ -552,6 +571,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{python3_sitelib}/dnf-plugins/__pycache__/debuginfo-install.* %{python3_sitelib}/dnf-plugins/__pycache__/debuginfo-install.*
%{python3_sitelib}/dnf-plugins/__pycache__/download.* %{python3_sitelib}/dnf-plugins/__pycache__/download.*
%{python3_sitelib}/dnf-plugins/__pycache__/generate_completion_cache.* %{python3_sitelib}/dnf-plugins/__pycache__/generate_completion_cache.*
%{python3_sitelib}/dnf-plugins/__pycache__/groups_manager.*
%{python3_sitelib}/dnf-plugins/__pycache__/needs_restarting.* %{python3_sitelib}/dnf-plugins/__pycache__/needs_restarting.*
%{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.* %{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.*
%{python3_sitelib}/dnf-plugins/__pycache__/repodiff.* %{python3_sitelib}/dnf-plugins/__pycache__/repodiff.*
@ -579,6 +599,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{_bindir}/yum-config-manager %{_bindir}/yum-config-manager
%{_bindir}/yum-debug-dump %{_bindir}/yum-debug-dump
%{_bindir}/yum-debug-restore %{_bindir}/yum-debug-restore
%{_bindir}/yum-groups-manager
%{_bindir}/yumdownloader %{_bindir}/yumdownloader
%{_mandir}/man1/debuginfo-install.* %{_mandir}/man1/debuginfo-install.*
%{_mandir}/man1/needs-restarting.* %{_mandir}/man1/needs-restarting.*
@ -591,6 +612,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{_mandir}/man1/yum-config-manager.* %{_mandir}/man1/yum-config-manager.*
%{_mandir}/man1/yum-debug-dump.* %{_mandir}/man1/yum-debug-dump.*
%{_mandir}/man1/yum-debug-restore.* %{_mandir}/man1/yum-debug-restore.*
%{_mandir}/man1/yum-groups-manager.*
%{_mandir}/man1/yumdownloader.* %{_mandir}/man1/yumdownloader.*
%{_mandir}/man1/package-cleanup.* %{_mandir}/man1/package-cleanup.*
%{_mandir}/man1/dnf-utils.* %{_mandir}/man1/dnf-utils.*
@ -612,6 +634,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%exclude %{_mandir}/man1/yum-config-manager.* %exclude %{_mandir}/man1/yum-config-manager.*
%exclude %{_mandir}/man1/yum-debug-dump.* %exclude %{_mandir}/man1/yum-debug-dump.*
%exclude %{_mandir}/man1/yum-debug-restore.* %exclude %{_mandir}/man1/yum-debug-restore.*
%exclude %{_mandir}/man1/yum-groups-manager.*
%exclude %{_mandir}/man1/yumdownloader.* %exclude %{_mandir}/man1/yumdownloader.*
%exclude %{_mandir}/man1/package-cleanup.* %exclude %{_mandir}/man1/package-cleanup.*
%exclude %{_mandir}/man1/dnf-utils.* %exclude %{_mandir}/man1/dnf-utils.*
@ -744,6 +767,18 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%endif %endif
%changelog %changelog
* Thu Jan 28 2021 Nicola Sella <nsella@redhat.com> - 4.0.19-1
- Update to 4.0.19
- copr: allow only 2 arguments with copr enable command
- [needs-restarting] fix -r in nspawn containers (RhBug:1913962,1914251)
- Add --gpgcheck option to reposync (RhBug:1856818) (RhBug:1856818)
- Re-introduce yum-groups-manager functionality (RhBug:1826016)
- [repomanage] Don't use cached metadata (RhBug:1899852)
- [needs-restarting] add -s to list services (RhBug:1772939) (RhBug:1772939)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 08 2020 Nicola Sella <nsella@redhat.com> - 4.0.18-1 * Thu Oct 08 2020 Nicola Sella <nsella@redhat.com> - 4.0.18-1
- [needs-restarting] Fix plugin fail if needs-restarting.d does not exist - [needs-restarting] Fix plugin fail if needs-restarting.d does not exist
- [needs-restarting] add kernel-rt to reboot list - [needs-restarting] add kernel-rt to reboot list

View File

@ -1 +1 @@
SHA512 (dnf-plugins-core-4.0.18.tar.gz) = b74d37f8506bc2c13fe3815ee013ae5bb16e87ef32c0072ffeaf465a8b6e4accb907c5e813dcb742575d2c838973ae4c7ffb8349c66f5730e3eb5d328145af42 SHA512 (dnf-plugins-core-4.0.19.tar.gz) = accb9ed8c20a18d177c84afa42e71678a594583635b5b27e056f40e7eeb39f14634304cb1b9e774b85b7851daddb6a70c46062debc16cdbee0d983139566dc86