Accepting request 805770 from Base:System

OBS-URL: https://build.opensuse.org/request/show/805770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpgme?expand=0&rev=80
This commit is contained in:
Dominique Leuenberger 2020-05-16 20:25:34 +00:00 committed by Git OBS Bridge
commit c5b8f555e4
2 changed files with 7 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 14 16:24:40 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Don't delete python egg-info files (bsc#1168795)
-------------------------------------------------------------------
Wed Apr 29 11:09:33 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -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}