Marcus Hüwe wrote:
On 2009-03-31 02:10:12 +0200, Sascha 'saigkill' Manns wrote:
I've found the Error. I had two %suse_update. But one was commented with a hash. The osc had interpretet the comment Line.
You need to escape the macro, e.g. # %%suse_update_... instead of # %suse_update...
because the macro is expanded otherwise.
Yes, macros are expanded even when they appear in the comments. $ rpm -E %suse_update_desktop_file /usr/lib/rpm/suse_update_desktop_file.sh --basedir /usr/src/packages/SRPMS || exit 1 The first line of the expanded macro is the blank line. So after the expansion only this blank line is commented, and the next (with actual call to script) is still executed. RPM also does not support this: %configure \ # call configure --disable-static \ # disable static libraries --enable-png # enable png (comments are not stripped before joining the lines) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org