From 99375f96c4cada2315b3b124191bd23d2c9322a326888f6d9dbe2cc28b994bc1 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 22 Feb 2021 08:49:09 +0000 Subject: [PATCH] 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 --- gimp.changes | 6 ++++++ gimp.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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