Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] Why are configure arguments of Fedora .spec files ignored ?
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 30 Apr 2007 12:32:11 +0200
  • Message-id: <20070430103211.GF30613@xxxxxxx>
On Sat, Apr 28, 2007 at 12:52:10PM +0200, Amilcar do Carmo Lucas wrote:
> Hi all,
> 
> I have a .spec file that works fine for all SuSE and Mandriva distros.
> http://build.opensuse.org/package/edit_file?file=KDevelop3.spec&package=KDevelop3&project=home%3Aamilcarlucas
> 
> But for fedora it always executes:
> + ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
> 
> Instead of doing what I typed in the .spec file:
> ./configure --disable-subversion \
>    --enable-new-ldflags \
>    --disable-dependency-tracking \
> [...]

What do you mean? The './configure' call is in the SUSE section
(checked with %if 0%{?suse_version}), whereas the spec file just
uses %configure for Fedora (line 527).

(That's why I dislike spliting up the specfile in big chunks, 
you always forget to patch some part...)

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >