From 8a7724f3c9da864fe005d7f2a369a93558be9b1e5357ed446fed5d9b8b2ee3cd Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Fri, 15 May 2020 08:58:18 +0000 Subject: [PATCH] Accepting request 805644 from home:mcepl:branches:Base:System - Don't delete python egg-info files (bsc#1168795) OBS-URL: https://build.opensuse.org/request/show/805644 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=115 --- gpgme.changes | 5 +++++ gpgme.spec | 14 ++------------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/gpgme.changes b/gpgme.changes index 6ece7fa..09507ec 100644 --- a/gpgme.changes +++ b/gpgme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 14 16:24:40 UTC 2020 - Matej Cepl + +- Don't delete python egg-info files (bsc#1168795) + ------------------------------------------------------------------- Wed Apr 29 11:09:33 UTC 2020 - Pedro Monreal Gonzalez diff --git a/gpgme.spec b/gpgme.spec index cd8c48c..b6c20d7 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -217,16 +217,6 @@ make %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake -%if %{with python2} -find %{buildroot}%{python_sitearch}/gpg-*.egg-info -delete -print -find %{buildroot}%{python_sitearch}/gpg -type f -name "*.pyc" -delete -print -rm -vf %{buildroot}%{python_sitelib}/gpg/install_files.txt -%endif -%if %{with python3} -find %{buildroot}%{python3_sitearch}/gpg-*.egg-info -delete -print -rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt -find %{buildroot}%{python3_sitearch}/gpg -type f -name "*.pyc" -delete -print -%endif %if %{with qt} rm -r %{buildroot}%{_bindir} rm -r %{buildroot}%{_datadir}/aclocal/gpgme* @@ -294,12 +284,12 @@ make %{?_smp_mflags} check %if %{with python2} %files -n python2-gpg -%{python_sitearch}/gpg +%{python_sitearch}/gpg* %endif %if %{with python3} %files -n python3-gpg -%{python3_sitearch}/gpg +%{python3_sitearch}/gpg* %endif %if %{with qt}