Richard Brown 2021-02-25 17:25:46 +00:00 committed by Git OBS Bridge
commit 66c5b7461e
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>

View File

@ -275,7 +275,7 @@ rm %{buildroot}%{_libdir}/gimp/2.0/*/*.*a
echo "%%defattr(-,root,root)" >plugins.list
echo "%%defattr(-,root,root)" >plugins-python.list
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
else
echo "${PLUGIN#%{buildroot}}" >>plugins.list