Hi, I've struggled with two baselibs.conf issues yesterday, and I'd need help to solve them. First, one question: my understanding is that we can't assume that the packages that will be created will be for 32-bit only, they could well be 64-bit too. Is that right? (We only do 32-bit ones in openSUSE, afaik, though) My two issues can be seen with this example from gtk2 (submitted to G:F): post "%if %_lib == lib64" post "%{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk-2.0/gtk64.immodules" post "%else" post "%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules" post "%endif" Usage of quotes in scriptlets ============================= I initially wanted to write something like: %if "%_lib" == "lib64" So I tried the following: post "%if \"%_lib\" == \"lib64\"" post "%if \\"%_lib\\" == \\"lib64\\"" post "%if \\\"%_lib\\\" == \\\"lib64\\\"" post '%if "%_lib" == "lib64"' They all caused failures. I worked around the issue by just removing the quotes: post "%if %_lib == lib64" But is there anyway to use quotes there? Paths for x86 packages ====================== The files in x86 packages are all put in a /emul/ia32-linux prefix. So I get /emul/ia32-linux/usr/bin/gtk-query-immodules-2.0 and /emul/ia32-linux/etc/gtk-2.0/gtk.immodules. However, the post scriplet above will expand to: /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules So it will just not do what is intended. What's the right way to do things here? Is it a bug in the spec file generated from baselibs.conf for x86? Thanks, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org