Hello community,

here is the log from the commit of package fillup for openSUSE:Factory
checked in at Tue Oct 4 18:09:30 CEST 2011.



--------
--- openSUSE:Factory/fillup/fillup.changes      2011-09-23 01:57:43.000000000 
+0200
+++ /mounts/work_src_done/STABLE/fillup/fillup.changes  2011-09-30 
17:01:59.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 30 15:00:41 UTC 2011 - [email protected]
+
+- cross-build workarounds: disable %build section testing, use fake
+  gcc script to work around build system deficiencies
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fillup.spec ++++++
--- /var/tmp/diff_new_pack.Am0mfT/_old  2011-10-04 18:09:28.000000000 +0200
+++ /var/tmp/diff_new_pack.Am0mfT/_new  2011-10-04 18:09:28.000000000 +0200
@@ -15,6 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:           fillup
 License:        GPLv2+
 Group:          System/Base
@@ -52,6 +54,8 @@
 # Be sure that the tests for fillup are run in
 # DEBUG mode for comparision with the references
 #
+# build time testing disabled when cross-compiling
+%if !0%{?_crossbuild}
 make %{?_smp_mflags} clean
 make %{?_smp_mflags} test    OPTISPLUS="$RPM_OPT_FLAGS"
 #
@@ -59,7 +63,13 @@
 # optimzed version.
 #
 make %{?_smp_mflags} clean
-make %{?_smp_mflags} compile COMPILE_OPTION=OPTIMIZE OPTISPLUS="$RPM_OPT_FLAGS"
+%else
+# build system does not always honor CC; workaround:
+echo -e "#!/bin/bash\nexec %__cc \"\$@\"" >gcc
+chmod 755 gcc
+export PATH=`pwd`:$PATH
+%endif
+make %{?_smp_mflags} compile COMPILE_OPTION=OPTIMIZE 
OPTISPLUS="$RPM_OPT_FLAGS" CC="%__cc"
 
 %install
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to