diff --git a/.gitignore b/.gitignore index e66a79a..073da9d 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /dnf-plugins-core-3.0.4.tar.gz /dnf-plugins-core-4.0.0.tar.gz /dnf-plugins-core-4.0.2.tar.gz +/dnf-plugins-core-4.0.3.tar.gz diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 0d9e2c3..cda6494 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -23,7 +23,7 @@ %endif Name: dnf-plugins-core -Version: 4.0.2 +Version: 4.0.3 Release: 1%{?dist} Summary: Core Plugins for DNF License: GPLv2+ @@ -40,6 +40,7 @@ Requires: python3-%{name} = %{version}-%{release} Requires: python2-%{name} = %{version}-%{release} %endif Provides: dnf-command(builddep) +Provides: dnf-command(changelog) Provides: dnf-command(config-manager) Provides: dnf-command(copr) Provides: dnf-command(debug-dump) @@ -68,14 +69,16 @@ Provides: dnf-plugin-repomanage = %{version}-%{release} Provides: dnf-plugin-reposync = %{version}-%{release} %if %{with yumcompatibility} Provides: yum-plugin-copr = %{version}-%{release} +Provides: yum-plugin-changelog = %{version}-%{release} Provides: yum-plugin-auto-update-debug-info = %{version}-%{release} %endif Conflicts: dnf-plugins-extras-common-data < %{dnf_plugins_extra} %description -Core Plugins for DNF. This package enhances DNF with builddep, config-manager, copr, debug, -debuginfo-install, download, needs-restarting, repoclosure, repograph, repomanage, reposync -and repodiff commands. Additionally provides generate_completion_cache passive plugin. +Core Plugins for DNF. This package enhances DNF with builddep, config-manager, +copr, debug, debuginfo-install, download, needs-restarting, repoclosure, +repograph, repomanage, reposync, changelog and repodiff commands. Additionally +provides generate_completion_cache passive plugin. %if %{with python2} %package -n python2-%{name} @@ -93,6 +96,11 @@ Requires: python2-distro %endif Requires: python2-dnf >= %{dnf_lowest_compatible} Requires: python2-hawkey >= %{hawkey_version} +%if 0%{?rhel} && 0%{?rhel} <= 7 +Requires: python-dateutil +%else +Requires: python2-dateutil +%endif Provides: python2-dnf-plugins-extras-debug = %{version}-%{release} Provides: python2-dnf-plugins-extras-repoclosure = %{version}-%{release} Provides: python2-dnf-plugins-extras-repograph = %{version}-%{release} @@ -108,9 +116,10 @@ Conflicts: python3-%{name} < %{version}-%{release} Conflicts: python-%{name} < %{version}-%{release} %description -n python2-%{name} -Core Plugins for DNF, Python 2 interface. This package enhances DNF with builddep, config-manager, -copr, degug, debuginfo-install, download, needs-restarting, repoclosure, repograph, repomanage, -reposync and repodiff commands. Additionally provides generate_completion_cache passive plugin. +Core Plugins for DNF, Python 2 interface. This package enhances DNF with builddep, +config-manager, copr, degug, debuginfo-install, download, needs-restarting, +repoclosure, repograph, repomanage, reposync, changelog and repodiff commands. +Additionally provides generate_completion_cache passive plugin. %endif %if %{with python3} @@ -125,6 +134,7 @@ Requires: python3-distro %endif Requires: python3-dnf >= %{dnf_lowest_compatible} Requires: python3-hawkey >= %{hawkey_version} +Requires: python3-dateutil Provides: python3-dnf-plugins-extras-debug = %{version}-%{release} Provides: python3-dnf-plugins-extras-repoclosure = %{version}-%{release} Provides: python3-dnf-plugins-extras-repograph = %{version}-%{release} @@ -140,9 +150,10 @@ Conflicts: python2-%{name} < %{version}-%{release} Conflicts: python-%{name} < %{version}-%{release} %description -n python3-%{name} -Core Plugins for DNF, Python 3 interface. This package enhances DNF with builddep, config-manager, -copr, debug, debuginfo-install, download, needs-restarting, repoclosure, repograph, repomanage, -reposync and repodiff commands. Additionally provides generate_completion_cache passive plugin. +Core Plugins for DNF, Python 3 interface. This package enhances DNF with builddep, +config-manager, copr, debug, debuginfo-install, download, needs-restarting, +repoclosure, repograph, repomanage, reposync, changelog and repodiff commands. +Additionally provides generate_completion_cache passive plugin. %endif %if %{with dnfutils} @@ -422,6 +433,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %files %{_mandir}/man8/dnf.plugin.builddep.* +%{_mandir}/man8/dnf.plugin.changelog.* %{_mandir}/man8/dnf.plugin.config_manager.* %{_mandir}/man8/dnf.plugin.copr.* %{_mandir}/man8/dnf.plugin.debug.* @@ -434,6 +446,13 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %{_mandir}/man8/dnf.plugin.repograph.* %{_mandir}/man8/dnf.plugin.repomanage.* %{_mandir}/man8/dnf.plugin.reposync.* +%if %{with yumcompatibility} +%{_mandir}/man1/yum-changelog.* +%{_mandir}/man5/yum-changelog.conf.* +%else +%exclude %{_mandir}/man1/yum-changelog.* +%exclude %{_mandir}/man5/yum-changelog.conf.* +%endif %if %{with python2} %files -n python2-%{name} -f %{name}.lang @@ -444,6 +463,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %config(noreplace) %{_sysconfdir}/dnf/plugins/copr.d %config(noreplace) %{_sysconfdir}/dnf/plugins/debuginfo-install.conf %{python2_sitelib}/dnf-plugins/builddep.* +%{python2_sitelib}/dnf-plugins/changelog.* %{python2_sitelib}/dnf-plugins/config_manager.* %{python2_sitelib}/dnf-plugins/copr.* %{python2_sitelib}/dnf-plugins/debug.* @@ -468,6 +488,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %config(noreplace) %{_sysconfdir}/dnf/plugins/copr.d %config(noreplace) %{_sysconfdir}/dnf/plugins/debuginfo-install.conf %{python3_sitelib}/dnf-plugins/builddep.py +%{python3_sitelib}/dnf-plugins/changelog.py %{python3_sitelib}/dnf-plugins/config_manager.py %{python3_sitelib}/dnf-plugins/copr.py %{python3_sitelib}/dnf-plugins/debug.py @@ -481,6 +502,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %{python3_sitelib}/dnf-plugins/repomanage.py %{python3_sitelib}/dnf-plugins/reposync.py %{python3_sitelib}/dnf-plugins/__pycache__/builddep.* +%{python3_sitelib}/dnf-plugins/__pycache__/changelog.* %{python3_sitelib}/dnf-plugins/__pycache__/config_manager.* %{python3_sitelib}/dnf-plugins/__pycache__/copr.* %{python3_sitelib}/dnf-plugins/__pycache__/debug.* @@ -661,6 +683,11 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %endif %changelog +* Wed Dec 12 2018 Jaroslav Mracek - 4.0.3-1 +- Update to 4.0.3 +- Add ``changelog`` plugin that is used for viewing package changelogs +- New option ``--metadata-path`` option for reposync plugin + * Thu Nov 22 2018 Jaroslav Mracek - 4.0.2-1 - Added repodif command - copr: fix enabling Rawhide repository diff --git a/sources b/sources index 2dd0095..94cf34c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnf-plugins-core-4.0.2.tar.gz) = eeacc919af7cb34810b81324ac2f8d7ed3ce3e2da98a13a189c7547dbbe6319da8340b78bcda7f781d7f09ff64d72cc19ae752dca33615dc5fadb64e6589805f +SHA512 (dnf-plugins-core-4.0.3.tar.gz) = 6ab0979bb4e9d40f1aebffc11d126583be07d3de84dca0ca498c7311a787ba888f1d66eb0f5c4616fe6eb0d29ce980a4a8d2111ac2405fef6a6e66a85f55c389