Le mardi 12 octobre 2010, à 11:39 +0200, Michael Matz a écrit :
On Tue, 12 Oct 2010, Vincent Untz wrote:
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"
Is the '>' supposed to be '->' ?
Hrm, no? Should it be? :-)
It it's supposed to be a normal baselibs conf directive, yes. I don't know about 'post'. Assuming it is what I think it is (simply putting something into the %post section of the generated temporary .spec file) I'd assume those strings have to be RPM directives mixed with shell code. "X > Y" looks like a shell redirection calling program X directing the output to file Y. I don't think this is what you want.
This is what we want. In this case (and I have several similar examples), Y contains some kind of cache for the library that is arch-specific (like a list of plugins, with some of their properties). 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