diff --git a/gimp.changes b/gimp.changes index 3166a39..2505727 100644 --- a/gimp.changes +++ b/gimp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 12 20:13:47 UTC 2021 - Michael Gorse + +- Recurse directories when looking for python plugins + (boo#1180362). + ------------------------------------------------------------------- Mon Jan 25 08:33:24 UTC 2021 - Stefan BrĂ¼ns diff --git a/gimp.spec b/gimp.spec index c914e2c..52a0c9d 100644 --- a/gimp.spec +++ b/gimp.spec @@ -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