Hello community,

here is the log from the commit of package libunwind for openSUSE:Factory 
checked in at 2014-05-22 20:38:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libunwind (Old)
 and      /work/SRC/openSUSE:Factory/.libunwind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libunwind"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes      2013-12-22 
19:36:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2014-05-22 
20:38:52.000000000 +0200
@@ -1,0 +2,7 @@
+Mon May 19 12:26:43 UTC 2014 - [email protected]
+
+- Clean up with spec-cleaner
+- Add dependency over libatomic_opts that was missing
+- Do not disable fortify-sources as it seems to work with it anyway
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libunwind.spec ++++++
--- /var/tmp/diff_new_pack.hQCACX/_old  2014-05-22 20:38:53.000000000 +0200
+++ /var/tmp/diff_new_pack.hQCACX/_new  2014-05-22 20:38:53.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libunwind
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,15 +17,12 @@
 
 
 Name:           libunwind
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
-BuildRequires:  pkg-config
-Url:            http://savannah.nongnu.org/projects/libunwind/
+Version:        1.1
+Release:        0
 Summary:        Unwind Library
 License:        MIT
 Group:          System/Base
-Version:        1.1
-Release:        0
+Url:            http://savannah.nongnu.org/projects/libunwind/
 Source:         libunwind-%{version}.tar.gz
 Patch0:         libunwind-1.1-tests.diff
 #PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44
@@ -34,19 +31,19 @@
 Patch2:         libunwind-aarch64.patch
 # PATCH-FIX-UPSTREAM: [email protected] -- submitted to libunwind-devel
 Patch3:         libunwind-ppc64le.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  gcc-c++
+BuildRequires:  libatomic_ops-devel
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64
+ExclusiveArch:  %ix86 ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64
 
 %description
 A portable and efficient C programming interface (API) to determine the
 call chain of a program.
 
-
-
-Authors:
---------
-    David Mosberger <[email protected]>
-
 %package devel
 Summary:        Unwind library
 Group:          Development/Libraries/C and C++
@@ -57,12 +54,6 @@
 A portable and efficient C programming interface (API) to determine the
 call-chain of a program.
 
-
-
-Authors:
---------
-    David Mosberger <[email protected]>
-
 %prep
 %setup -q
 %patch0 -p1
@@ -71,25 +62,23 @@
 %patch3 -p1
 
 %build
-autoreconf -fi
-export CFLAGS="%optflags -U_FORTIFY_SOURCE"
+autoreconf -fvi
 %configure
 make %{?_smp_mflags}
 
 %check
 %if ! 0%{?qemu_user_space_build:1}
-# There are some expected failures
-make -k check || :
+make check %{?_smp_mflags} || :
 %endif
 
 %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
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
+mkdir -p %{buildroot}/%{_lib}
+mv %{buildroot}%{_libdir}/libunwind.so.8* %{buildroot}/%{_lib}
+ln -sf /%{_lib}/libunwind.so.8 %{buildroot}%{_libdir}/libunwind.so
 # Check that ln did not create a dangling link
-stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so");
+stat %{buildroot}/$(readlink -f "%{buildroot}/%{_libdir}/libunwind.so");
 
 %post -p /sbin/ldconfig
 
@@ -97,20 +86,20 @@
 
 %files
 %defattr(-, root, root)
-/%_lib/lib*
+/%{_lib}/lib*
 %{_libdir}/lib*.so.*
 %{_libdir}/libunwind.so
 
 %files devel
 %defattr(-, root, root)
-%{_prefix}/include/*
+%{_includedir}/*
 %{_libdir}/lib*.a
 %{_libdir}/libunwind-*.so
 %{_libdir}/pkgconfig/libunwind-generic.pc
 %{_libdir}/pkgconfig/libunwind-ptrace.pc
 %{_libdir}/pkgconfig/libunwind-setjmp.pc
 %{_libdir}/pkgconfig/libunwind.pc
-%ifarch %arm %ix86 x86_64 aarch64
+%ifarch %{arm} %ix86 x86_64 aarch64
 %{_libdir}/pkgconfig/libunwind-coredump.pc
 %endif
 %doc %{_mandir}/man?/*

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

Reply via email to