On Thu, Aug 02, 2012 at 02:02:02PM +0200, Martin Weber wrote:
Am 02.08.2012 13:54, schrieb Michael Schroeder:
On Thu, Aug 02, 2012 at 01:23:45PM +0200, Martin Weber wrote:
when I enable the Debuginfo flag, rpmbuild seems to skip the %prep phase and then fails. What's going on there?
Dunno, can you send me the specfile?
Ok, but how can the specfile affect rpmbuild's behaviour?
It's your %global debug_package %{nil} line that exposes a bug (actually some spaces) in build's way of enabling debug packages. What happens is that %prep gets translated to %debug_package%prep (note the speces at the start of the line). That works ok with the normal debug_package macro, but with debug_package set to %{nil}, it'll expand to %prep That renders %prep useless as it must start at the first column. I'll delete the extra spaces from the build script. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org