Accepting request 997733 from GNOME:Factory

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

OBS-URL: https://build.opensuse.org/request/show/997733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=179
This commit is contained in:
Dominique Leuenberger 2022-08-19 15:53:28 +00:00 committed by Git OBS Bridge
commit 07eea63a87
3 changed files with 8 additions and 3 deletions

View File

@ -4,9 +4,9 @@ gtk2-devel
gtk2-tools
+/usr/bin/gtk-query-immodules-2.0(-64)?
post "%if "%_lib" == "lib64""
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache; fi; fi"
post "if [ $1 = 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache; fi; fi"
post "%else"
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache; fi; fi"
post "if [ $1 = 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache; fi; fi"
post "%endif"
libgtk-2_0-0
requires "gtk2-tools-<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)
-------------------------------------------------------------------
Thu Oct 21 09:23:07 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package gtk2
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed