Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
[opensuse-buildservice] Why are configure arguments of Fedora .spec files ignored ?
  • From: Amilcar do Carmo Lucas <webmaster@xxxxxxxxxxxx>
  • Date: Sat, 28 Apr 2007 12:52:10 +0200
  • Message-id: <200704281252.10243.webmaster@xxxxxxxxxxxx>
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 \
%if %{disable_gcc_check_and_hidden_visibility}
   --disable-gcc-hidden-visibility \
%endif
   --disable-rpath \
%if %{debug} == 0
   --disable-debug \
   --disable-warnings \
%endif
%if %{final}
  --enable-final \
%endif
  --with-qtdoc-dir=%{_docdir}/qt-devel-%{qt_version}/html/ \
  --with-kdelibsdoc-dir=%{_docdir}/HTML/en/kdelibs-apidocs/ \
  --with-qt-libraries=$QTDIR/lib \
  --with-extra-libs=%{_libdir}

Why are Fedora's configure arguments hardcoded ?
Why is it a fedora bug only ? Why to SuSE and Mandriva work fine ?

Thanks,
-- 
Amilcar Lucas
KDevelop.org webmaster
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups