Hello community,

here is the log from the commit of package libmicro for openSUSE:Factory
checked in at Wed Sep 14 14:57:35 CEST 2011.



--------
--- libmicro/libmicro.changes   2009-06-19 11:03:21.000000000 +0200
+++ /mounts/work_src_done/STABLE/libmicro/libmicro.changes      2011-09-14 
09:50:25.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Sep 14 07:49:59 UTC 2011 - [email protected]
+
+- do not build ctcs for 12.0+
+
+-------------------------------------------------------------------
+Sat Sep 10 07:56:02 UTC 2011 - [email protected]
+
+- fix build with newer ld
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  fix-link.diff

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

Other differences:
------------------
++++++ libmicro.spec ++++++
--- /var/tmp/diff_new_pack.ce9lbO/_old  2011-09-14 14:57:28.000000000 +0200
+++ /var/tmp/diff_new_pack.ce9lbO/_new  2011-09-14 14:57:28.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libmicro (Version 0.4.0)
+# spec file for package libmicro
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,11 +26,12 @@
 Summary:        kernel test suite, micro benchmark
 Url:            http://www.opensolaris.org/os/project/libmicro/
 Version:        0.4.0
-Release:        81
+Release:        91
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        ctcstools-%{version}.tar.bz2
 Patch0:         find_binary.patch
 Patch1:         removed_undefined_warning.patch
+Patch2:         fix-link.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -38,11 +39,7 @@
 library calls. LibMicro was developed by Bart Smaalders and Phil
 Harman.
 
-
-
-Authors:
---------
-    Various people from OpenSolaris community
+%if %suse_version < 1200
 
 %package ctcs-glue
 License:        Other uncritical OpenSource License ; CDDL
@@ -55,23 +52,16 @@
 %description ctcs-glue
 This package contains the glue for integrating libmicro into the ctcs
 testing framework.
-
-
-
-Authors:
---------
-    Patrick Kirsch <[email protected]>
+%endif
 
 %prep
 %setup -a1
 %patch0 -p1
 %patch1 
+%patch2 -p1
 
 %build
-# This package failed when testing with -Wl,-as-needed being default.
-# So we disable it here, if you want to retest, just delete this comment and 
the line below.
-export SUSE_ASNEEDED=0
-       make 
+make 
 
 %install
 mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro
@@ -87,14 +77,21 @@
 cp ctcstools/libmicro-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
 cp ctcstools/libmicro.tcf $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf
 
+%if %suse_version >= 1200
+rm -rf $RPM_BUILD_ROOT/usr/lib/ctcs2
+%endif
+
 %files
 %defattr(-,root,root)
 /usr/lib/libMicro
 %doc README
 
+%if %suse_version < 1200
+
 %files ctcs-glue
 %defattr(-,root,root)
 /usr/lib/ctcs2
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT

++++++ fix-link.diff ++++++
Index: libmicro-0.4.0/Makefile.com
===================================================================
--- libmicro-0.4.0.orig/Makefile.com    2007-07-02 23:17:45.000000000 +0200
+++ libmicro-0.4.0/Makefile.com 2011-09-10 09:48:27.047968747 +0200
@@ -107,7 +107,7 @@ tattle:             ../tattle.c     libmicro.a
        echo "char * compiler_version = \""`$(COMPILER_VERSION_CMD)`"\";" > 
tattle.h
        echo "char * CC = \""$(CC)"\";" >> tattle.h
        echo "char * extra_compiler_flags = \""$(extra_CFLAGS)"\";" >> tattle.h
-       $(CC) -o tattle $(CFLAGS) -I. ../tattle.c libmicro.a -lrt -lm
+       $(CC) -o tattle $(CFLAGS) -I. ../tattle.c libmicro.a -lrt -lm -lpthread
 
 $(ELIDED_BENCHMARKS):  ../elided.c
        $(CC) -o $(@) ../elided.c

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



Remember to have fun...

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

Reply via email to