From 717379f8ecdf3faa252ec7b154e276a1036816f0 Mon Sep 17 00:00:00 2001 From: zhanglu Date: Tue, 18 Feb 2020 19:06:58 +0800 Subject: [PATCH] remove python2 --- dnf-plugins-core.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 17acdcb..3b2221c 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -110,11 +110,8 @@ pushd build-py3 popd %find_lang %{name} - mv %{buildroot}%{_libexecdir}/dnf-utils-3 %{buildroot}%{_libexecdir}/dnf-utils - rm -vf %{buildroot}%{_libexecdir}/dnf-utils-* - mkdir -p %{buildroot}%{_bindir} ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/debuginfo-install ln -sf %{_libexecdir}/dnf-utils %{buildroot}%{_bindir}/needs-restarting @@ -158,9 +155,12 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %{_bindir}/yum-debug-restore %{_bindir}/yumdownloader %exclude %{_mandir}/man8/dnf.plugin.leaves.* -%exclude %{python2_sitelib}/dnf-plugins/leaves.* +%exclude %{_mandir}/man8/dnf.plugin.migrate.* %exclude %{python3_sitelib}/dnf-plugins/leaves.* %exclude %{python3_sitelib}/dnf-plugins/__pycache__/leaves.* +%exclude %{_mandir}/man8/dnf.plugin.show-leaves.* +%exclude %{python3_sitelib}/dnf-plugins/show_leaves.* +%exclude %{python3_sitelib}/dnf-plugins/__pycache__/show_leaves.* %files -n python3-%{name} -f %{name}.lang %license COPYING