Accepting request 997731 from GNOME:Factory

- avoid bashism in baselibs postscript (bsc#1195391) (forwarded request 995215 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/997731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdk-pixbuf?expand=0&rev=90
This commit is contained in:
Dominique Leuenberger 2022-08-19 15:53:22 +00:00 committed by Git OBS Bridge
commit 91dc540a4b
2 changed files with 7 additions and 2 deletions

View File

@ -4,9 +4,9 @@ gdk-pixbuf-devel
gdk-pixbuf-query-loaders
+/usr/bin/gdk-pixbuf-query-loaders(-64)?
post "%if "%_lib" == "lib64""
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gdk-pixbuf-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gdk-pixbuf-query-loaders-64 --update-cache; fi; fi"
post "if [ $1 = 1 ]; then test -d <prefix>%{_libdir}/gdk-pixbuf-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gdk-pixbuf-query-loaders-64 --update-cache; fi; fi"
post "%else"
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gdk-pixbuf-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gdk-pixbuf-query-loaders --update-cache; fi; fi"
post "if [ $1 = 1 ]; then test -d <prefix>%{_libdir}/gdk-pixbuf-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gdk-pixbuf-query-loaders --update-cache; fi; fi"
post "%endif"
libgdk_pixbuf-2_0-0
requires "gdk-pixbuf-query-loaders-<targettype>"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 15 19:13:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- avoid bashism in baselibs postscript (bsc#1195391)
-------------------------------------------------------------------
Tue Aug 9 16:35:03 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>