diff --git a/baselibs.conf b/baselibs.conf index 99602f9..6afe1e3 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -4,9 +4,9 @@ gtk3-devel gtk3-tools +/usr/bin/gtk-query-immodules-3.0(-64)? post "%if "%_lib" == "lib64"" - post "if [ $1 == 1 ]; then test -d %{_libdir}/gtk-3.0/3.0.0 && %{_bindir}/gtk-query-immodules-3.0-64 --update-cache; fi" + post "if [ $1 = 1 ]; then test -d %{_libdir}/gtk-3.0/3.0.0 && %{_bindir}/gtk-query-immodules-3.0-64 --update-cache; fi" post "%else" - post "if [ $1 == 1 ]; then test -d %{_libdir}/gtk-3.0/3.0.0 && %{_bindir}/gtk-query-immodules-3.0 --update-cache; fi" + post "if [ $1 = 1 ]; then test -d %{_libdir}/gtk-3.0/3.0.0 && %{_bindir}/gtk-query-immodules-3.0 --update-cache; fi" post "%endif" libgtk-3-0 requires "gtk3-tools-" diff --git a/gtk3.changes b/gtk3.changes index 4bce91b..6395689 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 15 19:13:13 UTC 2022 - Dirk Müller + +- avoid bashism in baselibs postscript (bsc#1195391) + ------------------------------------------------------------------- Mon Jul 4 08:11:44 UTC 2022 - Yifan Jiang