SHA256
1
0
forked from pool/gimp

Accepting request 871547 from home:mgorse:branches:graphics

- Recurse directories when looking for python plugins
  (boo#1180362).

OBS-URL: https://build.opensuse.org/request/show/871547
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=52
This commit is contained in:
Dirk Stoecker 2021-02-22 08:49:09 +00:00 committed by Git OBS Bridge
parent 0f9b473af3
commit 99375f96c4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 12 20:13:47 UTC 2021 - Michael Gorse <mgorse@suse.com>
- Recurse directories when looking for python plugins
(boo#1180362).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 25 08:33:24 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de> Mon Jan 25 08:33:24 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -275,7 +275,7 @@ rm %{buildroot}%{_libdir}/gimp/2.0/*/*.*a
echo "%%defattr(-,root,root)" >plugins.list echo "%%defattr(-,root,root)" >plugins.list
echo "%%defattr(-,root,root)" >plugins-python.list echo "%%defattr(-,root,root)" >plugins-python.list
for PLUGIN in %{buildroot}%{_libdir}/gimp/2.0/plug-ins/* ; do for PLUGIN in %{buildroot}%{_libdir}/gimp/2.0/plug-ins/* ; do
if grep -q '^#!.*python' $PLUGIN ; then if grep -qr '^#!.*python' $PLUGIN ; then
echo "${PLUGIN#%{buildroot}}" >>plugins-python.list echo "${PLUGIN#%{buildroot}}" >>plugins-python.list
else else
echo "${PLUGIN#%{buildroot}}" >>plugins.list echo "${PLUGIN#%{buildroot}}" >>plugins.list