Hello community,

here is the log from the commit of package spandsp for openSUSE:Factory checked 
in at 2019-09-19 15:46:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spandsp (Old)
 and      /work/SRC/openSUSE:Factory/.spandsp.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spandsp"

Thu Sep 19 15:46:07 2019 rev:10 rq:729537 version:0.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/spandsp/spandsp.changes  2019-07-17 
13:13:06.483881804 +0200
+++ /work/SRC/openSUSE:Factory/.spandsp.new.7948/spandsp.changes        
2019-09-19 15:46:10.447350258 +0200
@@ -1,0 +2,5 @@
+Mon Sep  9 17:16:20 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Modernized the specfile.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ spandsp.spec ++++++
--- /var/tmp/diff_new_pack.Eg0saJ/_old  2019-09-19 15:46:11.255350094 +0200
+++ /var/tmp/diff_new_pack.Eg0saJ/_new  2019-09-19 15:46:11.259350093 +0200
@@ -23,14 +23,13 @@
 Group:          Development/Libraries/C and C++
 Version:        0.0.6
 Release:        0
-Url:            http://soft-switch.org/
+URL:            http://soft-switch.org/
 
-Source0:        http://soft-switch.org/downloads/spandsp/%name-%version.tar.gz
-Source1:        baselibs.conf
+Source:         http://soft-switch.org/downloads/spandsp/%name-%version.tar.gz
+Source2:        baselibs.conf
 Patch1:         spandsp-autoconf.diff
 Patch2:         spandsp-raise-traintime-tolerance.diff
 Patch3:         spandsp-handle-international-dialstring-prefix.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  doxygen
 BuildRequires:  libtiff-devel
@@ -60,7 +59,7 @@
 Summary:        Development files for the SpanDSP library
 License:        LGPL-2.1-only
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %{version}
+Requires:       %lname = %version
 Requires:       glibc-devel
 Requires:       libtiff-devel
 
@@ -92,13 +91,10 @@
 This package contains documentation for the libspandsp API.
 
 %prep
-%setup -qn %name-0.0.6
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -n %name-0.0.6 -p1
 
 %build
-%define _lto_cflags %{nil}
+%define _lto_cflags %nil
 autoreconf -fiv
 # Enabling MMX could be safe.. I see cpuid calls in the source
 %configure \
@@ -118,28 +114,25 @@
 %endif
 
 %install
-make install DESTDIR="%buildroot";
-mkdir -p "%buildroot%_docdir/%name";
-cp -a COPYING AUTHORS NEWS README DueDiligence \
-        ChangeLog doc/api/html "%buildroot%_docdir/%name";
-find %{buildroot} -name "*.la" -delete
+%make_install
+mkdir -p "%buildroot%_docdir/%name"
+cp -a NEWS README DueDiligence ChangeLog doc/api/html \
+       "%buildroot/%_docdir/%name"
+rm -f "%buildroot/%_libdir"/*.la
 
 %post -n %lname -p /sbin/ldconfig
-
 %postun -n %lname -p /sbin/ldconfig
 
 %files devel
-%defattr(-,root,root)
+%license COPYING
 %_includedir/*
 %_libdir/lib%name.so
 %_libdir/pkgconfig/*.pc
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/lib%name.so.2*
 
 %files doc
-%defattr(-,root,root)
-%doc %_docdir/%name
+%_docdir/%name/
 
 %changelog


Reply via email to