Hello community,

here is the log from the commit of package libunwind for openSUSE:Factory 
checked in at 2012-02-17 12:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libunwind (Old)
 and      /work/SRC/openSUSE:Factory/.libunwind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libunwind", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes      2011-11-24 
11:36:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2012-02-17 
12:01:41.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Feb  9 15:53:49 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections
+- Fix dangling symlink /usr/lib/libunwind.so (which was
+  pointing at "libunwind.so.8.*", verbatim asterisk)
+- Throw out .la file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libunwind.spec ++++++
--- /var/tmp/diff_new_pack.T0B4ms/_old  2012-02-17 12:01:42.000000000 +0100
+++ /var/tmp/diff_new_pack.T0B4ms/_new  2012-02-17 12:01:42.000000000 +0100
@@ -15,9 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           libunwind
 BuildRequires:  gcc-c++ libtool
 Url:            http://savannah.nongnu.org/projects/libunwind/
@@ -44,7 +41,6 @@
     David Mosberger <[email protected]>
 
 %package devel
-License:        MIT
 Summary:        Unwind library
 Group:          Development/Libraries/C and C++
 Requires:       libunwind = %{version}-%{release}
@@ -69,9 +65,8 @@
 
 %build
 autoreconf -fi
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
-./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \
-           --libdir=%{_libdir} --build=%{_target_cpu}-suse-linux
+export CFLAGS="%optflags -U_FORTIFY_SOURCE"
+%configure
 make %{?_smp_mflags}
 
 %check
@@ -82,17 +77,17 @@
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
+rm -f "%buildroot/%_libdir"/*.la
 mkdir -p $RPM_BUILD_ROOT/%{_lib}
 mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib}
-ln -sf ../../%{_lib}/libunwind.so.8.* $RPM_BUILD_ROOT%{_libdir}/libunwind.so
+ln -sf /%{_lib}/libunwind.so.8 $RPM_BUILD_ROOT%{_libdir}/libunwind.so
+# Check that ln did not create a dangling link
+stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so");
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-, root, root)
 /%_lib/lib*
@@ -103,7 +98,6 @@
 %defattr(-, root, root)
 %{_prefix}/include/*
 %{_libdir}/lib*.a
-%{_libdir}/lib*.la
 %{_libdir}/libunwind-*.so
 %doc %{_mandir}/man?/*
 

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

Reply via email to