Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Content of %build section ignored
  • From: Volker Stoppe <grenzlaeufer@xxxxxxx>
  • Date: Mon, 21 Feb 2011 12:11:41 +0100
  • Message-id: <>
Thanks for you quick response Ismail and Dave,

Am 18.02.2011 14:00, schrieb İsmail Dönmez:
Has anyone had the situation, that the contents of the %build-section of a spec
file is ignored? All source files are extrackted and patches are applied but as
a resault I only get a source.rpm. /var/tmp doesn´t contain any temporary
script files.
My spec worked for a while and I can´t remember what I could have changed.

I see this in %prep section

%define mysqllib -L/usr/lib/mysql
%ifarch x86_64
%define mysqllib -L/usr/lib64/mysql

The first %endif has no corresponding %if line. That might be causing problems.

I have added an ifarch and after that I replaced the whole section with the line:

%define mysqllib -L/usr/%{_libdir)/mysql

Unfortunately it doesn´t make a difference. The result is:

----- building postfix.spec (user abuild)
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define  'disturl  obs://'  /usr/src/packages/SOURCES/postfix.spec
[   47.676977] System halted.

I would really like to know what is going wrong. Maybe someone could have a look:


To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups