From 8e0916c332740c23397a60f530bf9b797acca1a0 Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Jan 31 2022 20:28:26 +0000 Subject: Exclude egg-info directories for dnf, bzr and brz plugins (#2048085). --- diff --git a/etckeeper.spec b/etckeeper.spec index 5496466..18cc10e 100644 --- a/etckeeper.spec +++ b/etckeeper.spec @@ -18,7 +18,7 @@ Name: etckeeper Version: 1.18.16 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Store /etc in a SCM system (git, mercurial, bzr or darcs) License: GPLv2+ URL: https://etckeeper.branchable.com/ @@ -254,7 +254,8 @@ fi %if 0%{?with_bzr} %files bzr %{python2_sitelib}/bzrlib/plugins/%{name} -%{python2_sitelib}/bzr_%{name}-*.egg-info +# exclude egg-info dir, doesn't contain meaningful information +%exclude %{python2_sitelib}/bzr_%{name}-*.egg-info %endif # with_bzr @@ -265,7 +266,8 @@ fi %dir %{python3_sitelib}/breezy/ %dir %{python3_sitelib}/breezy/plugins/ %{python3_sitelib}/breezy/plugins/%{name}/ -%{python3_sitelib}/brz_%{name}-*.egg-info +# exclude egg-info dir, doesn't contain meaningful information +%exclude %{python3_sitelib}/brz_%{name}-*.egg-info %endif # with_brz @@ -275,15 +277,20 @@ fi %exclude %{python3_sitelib}/dnf-plugins/__init__.py %{python3_sitelib}/dnf-plugins/__pycache__/%{name}.* %exclude %{python3_sitelib}/dnf-plugins/__pycache__/__init__.* -%{python3_sitelib}/dnf_%{name}-*.egg-info +# exclude egg-info dir, doesn't contain meaningful information +%exclude %{python3_sitelib}/dnf_%{name}-*.egg-info %else %{python2_sitelib}/dnf-plugins/%{name}.py* %exclude %{python2_sitelib}/dnf-plugins/__init__.py* -%{python2_sitelib}/dnf_%{name}-*.egg-info +# exclude egg-info dir, doesn't contain meaningful information +%exclude %{python2_sitelib}/dnf_%{name}-*.egg-info %endif # dnf_uses_python3 %changelog +* Mon Jan 31 2022 Thomas Moschny - 1.18.16-5 +- Exclude egg-info directories for dnf, bzr and brz plugins (#2048085). + * Thu Jan 20 2022 Fedora Release Engineering - 1.18.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild