diff --git a/.gitignore b/.gitignore index 7113876..10b963d 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ /dnf-plugins-core-4.0.9.tar.gz /dnf-plugins-core-4.0.10.tar.gz /dnf-plugins-core-4.0.11.tar.gz +/dnf-plugins-core-4.0.12.tar.gz diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 506eea0..af9fb91 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -1,6 +1,6 @@ -%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.14} +%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.17} %global dnf_plugins_extra 2.0.0 -%global hawkey_version 0.34.0 +%global hawkey_version 0.37.0 %global yum_utils_subpackage_name dnf-utils %if 0%{?rhel} > 7 %global yum_utils_subpackage_name yum-utils @@ -31,7 +31,7 @@ %endif Name: dnf-plugins-core -Version: 4.0.11 +Version: 4.0.12 Release: 1%{?dist} Summary: Core Plugins for DNF License: GPLv2+ @@ -169,7 +169,6 @@ Additionally provides generate_completion_cache passive plugin. %package -n %{yum_utils_subpackage_name} %if "%{yum_utils_subpackage_name}" == "dnf-utils" Conflicts: yum-utils < 1.1.31-530 -Conflicts: yum-plugin-copr < 1.1.31-520 %if 0%{?rhel} != 7 Provides: yum-utils = %{version}-%{release} %endif @@ -282,6 +281,34 @@ Obsoletes: python-dnf-plugins-extras-migrate < %{dnf_plugins_extra} Migrate Plugin for DNF, Python 2 version. Migrates history, group and yumdb data from yum to dnf. %endif +%if %{with python2} +%package -n python2-dnf-plugin-post-transaction-actions +Summary: Post transaction actions Plugin for DNF +Requires: python2-%{name} = %{version}-%{release} +%if !%{with python3} +Provides: dnf-plugin-post-transaction-actions = %{version}-%{release} +%endif +Conflicts: python3-dnf-plugin-post-transaction-actions < %{version}-%{release} + +%description -n python2-dnf-plugin-post-transaction-actions +Post transaction actions Plugin for DNF, Python 2 version. Plugin runs actions +(shell commands) after transaction is completed. Actions are defined in action +files. +%endif + +%if %{with python3} +%package -n python3-dnf-plugin-post-transaction-actions +Summary: Post transaction actions Plugin for DNF +Requires: python3-%{name} = %{version}-%{release} +Provides: dnf-plugin-post-transaction-actions = %{version}-%{release} +Conflicts: python2-dnf-plugin-post-transaction-actions < %{version}-%{release} + +%description -n python3-dnf-plugin-post-transaction-actions +Post transaction actions Plugin for DNF, Python 3 version. Plugin runs actions +(shell commands) after transaction is completed. Actions are defined in action +files. +%endif + %if 0%{?rhel} == 0 && %{with python2} %package -n python2-dnf-plugin-show-leaves Summary: Leaves Plugin for DNF @@ -446,20 +473,20 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %endif %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.* -%{_mandir}/man8/dnf.plugin.debuginfo-install.* -%{_mandir}/man8/dnf.plugin.download.* -%{_mandir}/man8/dnf.plugin.generate_completion_cache.* -%{_mandir}/man8/dnf.plugin.needs_restarting.* -%{_mandir}/man8/dnf.plugin.repoclosure.* -%{_mandir}/man8/dnf.plugin.repodiff.* -%{_mandir}/man8/dnf.plugin.repograph.* -%{_mandir}/man8/dnf.plugin.repomanage.* -%{_mandir}/man8/dnf.plugin.reposync.* +%{_mandir}/man8/dnf-builddep.* +%{_mandir}/man8/dnf-changelog.* +%{_mandir}/man8/dnf-config-manager.* +%{_mandir}/man8/dnf-copr.* +%{_mandir}/man8/dnf-debug.* +%{_mandir}/man8/dnf-debuginfo-install.* +%{_mandir}/man8/dnf-download.* +%{_mandir}/man8/dnf-generate_completion_cache.* +%{_mandir}/man8/dnf-needs-restarting.* +%{_mandir}/man8/dnf-repoclosure.* +%{_mandir}/man8/dnf-repodiff.* +%{_mandir}/man8/dnf-repograph.* +%{_mandir}/man8/dnf-repomanage.* +%{_mandir}/man8/dnf-reposync.* %if %{with yumcompatibility} %{_mandir}/man1/yum-changelog.* %{_mandir}/man8/yum-copr.* @@ -594,18 +621,18 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %if %{with python2} %files -n python2-dnf-plugin-leaves %{python2_sitelib}/dnf-plugins/leaves.* -%{_mandir}/man8/dnf.plugin.leaves.* +%{_mandir}/man8/dnf-leaves.* %endif %if %{with python3} %files -n python3-dnf-plugin-leaves %{python3_sitelib}/dnf-plugins/leaves.* %{python3_sitelib}/dnf-plugins/__pycache__/leaves.* -%{_mandir}/man8/dnf.plugin.leaves.* +%{_mandir}/man8/dnf-leaves.* %endif %else -%exclude %{_mandir}/man8/dnf.plugin.leaves.* +%exclude %{_mandir}/man8/dnf-leaves.* %if %{with python2} %exclude %{python2_sitelib}/dnf-plugins/leaves.* %endif @@ -619,7 +646,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %files -n python2-dnf-plugin-local %config(noreplace) %{_sysconfdir}/dnf/plugins/local.conf %{python2_sitelib}/dnf-plugins/local.* -%{_mandir}/man8/dnf.plugin.local.* +%{_mandir}/man8/dnf-local.* %endif %if %{with python3} && 0%{?rhel} == 0 @@ -627,15 +654,32 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %config(noreplace) %{_sysconfdir}/dnf/plugins/local.conf %{python3_sitelib}/dnf-plugins/local.* %{python3_sitelib}/dnf-plugins/__pycache__/local.* -%{_mandir}/man8/dnf.plugin.local.* +%{_mandir}/man8/dnf-local.* %endif %if %{with python2} %files -n python2-dnf-plugin-migrate %{python2_sitelib}/dnf-plugins/migrate.* -%{_mandir}/man8/dnf.plugin.migrate.* +%{_mandir}/man8/dnf-migrate.* %else -%exclude %{_mandir}/man8/dnf.plugin.migrate.* +%exclude %{_mandir}/man8/dnf-migrate.* +%endif + +%if %{with python2} +%files -n python2-dnf-plugin-post-transaction-actions +%config(noreplace) %{_sysconfdir}/dnf/plugins/post-transaction-actions.conf +%config(noreplace) %{_sysconfdir}/dnf/plugins/post-transaction-actions.d +%{python2_sitelib}/dnf-plugins/post-transaction-actions.* +%{_mandir}/man8/dnf-post-transaction-actions.* +%endif + +%if %{with python3} +%files -n python3-dnf-plugin-post-transaction-actions +%config(noreplace) %{_sysconfdir}/dnf/plugins/post-transaction-actions.conf +%config(noreplace) %{_sysconfdir}/dnf/plugins/post-transaction-actions.d +%{python3_sitelib}/dnf-plugins/post-transaction-actions.* +%{python3_sitelib}/dnf-plugins/__pycache__/post-transaction-actions.* +%{_mandir}/man8/dnf-post-transaction-actions.* %endif %if 0%{?rhel} == 0 @@ -643,18 +687,18 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %if %{with python2} %files -n python2-dnf-plugin-show-leaves %{python2_sitelib}/dnf-plugins/show_leaves.* -%{_mandir}/man8/dnf.plugin.show-leaves.* +%{_mandir}/man8/dnf-show-leaves.* %endif %if %{with python3} %files -n python3-dnf-plugin-show-leaves %{python3_sitelib}/dnf-plugins/show_leaves.* %{python3_sitelib}/dnf-plugins/__pycache__/show_leaves.* -%{_mandir}/man8/dnf.plugin.show-leaves.* +%{_mandir}/man8/dnf-show-leaves.* %endif %else -%exclude %{_mandir}/man8/dnf.plugin.show-leaves.* +%exclude %{_mandir}/man8/dnf-show-leaves.* %if %{with python2} %exclude %{python2_sitelib}/dnf-plugins/show_leaves.* %endif @@ -669,7 +713,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %config(noreplace) %{_sysconfdir}/dnf/plugins/versionlock.conf %config(noreplace) %{_sysconfdir}/dnf/plugins/versionlock.list %{python2_sitelib}/dnf-plugins/versionlock.* -%{_mandir}/man8/dnf.plugin.versionlock.* +%{_mandir}/man8/dnf-versionlock.* %if %{with yumcompatibility} %{_mandir}/man8/yum-versionlock.* %{_mandir}/man5/yum-versionlock.* @@ -685,7 +729,7 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %config(noreplace) %{_sysconfdir}/dnf/plugins/versionlock.list %{python3_sitelib}/dnf-plugins/versionlock.* %{python3_sitelib}/dnf-plugins/__pycache__/versionlock.* -%{_mandir}/man8/dnf.plugin.versionlock.* +%{_mandir}/man8/dnf-versionlock.* %if %{with yumcompatibility} %{_mandir}/man8/yum-versionlock.* %{_mandir}/man5/yum-versionlock.* @@ -696,6 +740,16 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %endif %changelog +* Fri Nov 29 2019 Aleš Matěj - 4.0.12-1 +- Update to 4.0.12 +- [reposync] Add --urls option (RhBug:1686602) +- [versionlock] Add --raw option (RhBug:1645564) +- [doc] move manpages for plugins to "dnf-PLUGIN" (RhBug:1706386) +- Add new plugin post-transaction-actions (RhBug:967264) +- [builddep] Add --skip-unavailable switch (RhBug:1628634) +- [versionlock] Don't apply excludes on @System (RhBug:1726712) +- [reposync] Ignore only modular excludes (RhBug:1750273) + * Wed Nov 06 2019 Pavla Kratochvilova - 4.0.11-1 - Update to 4.0.11 - [spec] Specify attributes for ghost file (RhBug: 1754463) diff --git a/sources b/sources index 256971c..ca6318e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnf-plugins-core-4.0.11.tar.gz) = 670a909f343f90f1db8a1eddc5ca7dfabd25e35434dfd9ca569fd7390e91080b1fc73553be5cc75bd57894d753033d285abf66f3702a0e73d889fec35d6270bb +SHA512 (dnf-plugins-core-4.0.12.tar.gz) = 3ef11860a086caef841989fef344ff0b3f0652ea4411843de04e6a52da9be13da48b67f31e46ae079b1404ccb3148abb6bfba408e2c9ff6494cfe340d70f7c35