Accepting request 995215 from home:dirkmueller:Factory

- avoid bashism in baselibs postscript (bsc#1195391)

OBS-URL: https://build.opensuse.org/request/show/995215
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdk-pixbuf?expand=0&rev=192
This commit is contained in:
Dominique Leuenberger 2022-08-18 11:48:45 +00:00 committed by Git OBS Bridge
parent be5dfe5406
commit 306776d8dd
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>