Hello community,

here is the log from the commit of package libsndfile for openSUSE:Factory 
checked in at 2015-03-27 09:39:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsndfile (Old)
 and      /work/SRC/openSUSE:Factory/.libsndfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsndfile"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsndfile/libsndfile-progs.changes      
2013-04-17 07:16:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libsndfile.new/libsndfile-progs.changes 
2015-03-27 09:39:04.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Mar 21 08:14:38 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Add gpg signature
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/libsndfile/libsndfile.changes    2015-01-09 
20:52:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libsndfile.new/libsndfile.changes       
2015-03-27 09:39:04.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Mar 21 08:12:34 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Add gpg signature
+- Remove old ppc provides/obsoletes
+
+-------------------------------------------------------------------

New:
----
  libsndfile-1.0.25.tar.gz.asc
  libsndfile.keyring

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

Other differences:
------------------
++++++ libsndfile-progs.spec ++++++
--- /var/tmp/diff_new_pack.4uGjzn/_old  2015-03-27 09:39:05.000000000 +0100
+++ /var/tmp/diff_new_pack.4uGjzn/_new  2015-03-27 09:39:05.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsndfile-progs
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,6 +17,16 @@
 
 
 Name:           libsndfile-progs
+Version:        1.0.25
+Release:        0
+Summary:        Example Programs for libsndfile
+License:        LGPL-2.1+
+Group:          System/Libraries
+Url:            http://www.mega-nerd.com/libsndfile/
+Source0:        
http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
+Source1:        
http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz.asc
+Source2:        libsndfile.keyring
+Patch0:         libsndfile-example-fix.diff
 BuildRequires:  alsa-devel
 BuildRequires:  flac-devel
 BuildRequires:  gcc-c++
@@ -25,33 +35,19 @@
 BuildRequires:  libvorbis-devel
 BuildRequires:  pkgconfig
 BuildRequires:  sqlite-devel
-Summary:        Example Programs for libsndfile
-License:        LGPL-2.1+
-Group:          System/Libraries
-Version:        1.0.25
-Release:        0
-Source:         
http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
-Patch:          libsndfile-example-fix.diff
-Url:            http://www.mega-nerd.com/libsndfile/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This package includes the example programs for libsndfile.
 
-
-
-Authors:
---------
-    Erik de Castro Lopo <[email protected]>
-
 %prep
 %setup -q -n libsndfile-%{version}
-%patch
+%patch0
 
 %build
 %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith 
-Wno-unused-parameter
 # autoreconf --force --install
-CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
+CFLAGS="%{optflags} %{warn_flags}"
 export CFLAGS
 %configure --disable-silent-rules \
        --disable-static \
@@ -60,11 +56,11 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR="$RPM_BUILD_ROOT" install
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 # remove unnecessary lib files
-rm -rf $RPM_BUILD_ROOT%{_libdir}
-rm -rf $RPM_BUILD_ROOT%{_includedir}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev
+rm -rf %{buildroot}%{_libdir}
+rm -rf %{buildroot}%{_includedir}
+rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev
 
 %files
 %defattr(-, root, root)

++++++ libsndfile.spec ++++++
--- /var/tmp/diff_new_pack.4uGjzn/_old  2015-03-27 09:39:05.000000000 +0100
+++ /var/tmp/diff_new_pack.4uGjzn/_new  2015-03-27 09:39:05.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsndfile
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,27 @@
 #
 
 
+%define lname  %{name}1
 Name:           libsndfile
-%define lname  libsndfile1
 Version:        1.0.25
 Release:        0
 Summary:        Development/Libraries/C and C++
 License:        LGPL-2.1+
 Group:          System/Libraries
+Url:            http://www.mega-nerd.com/libsndfile
+Source0:        
http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz
+Source1:        
http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz.asc
+Source2:        %{name}.keyring
+Source3:        baselibs.conf
+# PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
+Patch0:         libsndfile-example-fix.diff
+# PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
+Patch1:         libsndfile-paf-zero-division-fix.diff
+Patch2:         sndfile-ocloexec.patch
+# PATCH-FIX-UPSTREAM CVE-2014-9496 bnc#911796
+Patch3:         sndfile-src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch
+# PATCH-FIX-UPSTREAM CVE-2014-9496 bnc#911796
+Patch4:         sndfile-src-sd2.c-Fix-two-potential-buffer-read-overflows.patch
 BuildRequires:  alsa-devel
 BuildRequires:  flac-devel
 BuildRequires:  gcc-c++
@@ -33,23 +47,6 @@
 BuildRequires:  sqlite-devel
 Obsoletes:      libsnd
 Provides:       libsnd
-# bug437293
-%ifarch ppc64
-Obsoletes:      libsndfile-64bit
-%endif
-Url:            http://www.mega-nerd.com/libsndfile/
-#
-Source:         
http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz
-Source2:        baselibs.conf
-# PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch0:         libsndfile-example-fix.diff
-# PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch1:         libsndfile-paf-zero-division-fix.diff
-Patch2:         sndfile-ocloexec.patch
-# PATCH-FIX-UPSTREAM CVE-2014-9496 bnc#911796
-Patch3:         sndfile-src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch
-# PATCH-FIX-UPSTREAM CVE-2014-9496 bnc#911796
-Patch4:         sndfile-src-sd2.c-Fix-two-potential-buffer-read-overflows.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -58,13 +55,13 @@
 currently read and write 8, 16, 24, and 32-bit PCM files as well as
 32-bit floating point WAV files and a number of compressed formats.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        A Library to Handle Various Audio File Formats
 Group:          System/Libraries
 Provides:       %{name} = %{version}
 Obsoletes:      %{name} <= 1.0.25
 
-%description -n %lname
+%description -n %{lname}
 Libsndfile is a C library for reading and writing sound files, such
 as AIFF, AU, and WAV files, through one standard interface. It can
 currently read and write 8, 16, 24, and 32-bit PCM files as well as
@@ -78,11 +75,6 @@
 Requires:       libstdc++-devel
 Obsoletes:      libsndd
 Provides:       libsndd
-# bug437293
-%ifarch ppc64
-Obsoletes:      libsndfile-devel-64bit
-%endif
-#
 
 %description devel
 This package contains the files needed to compile programs that use the
@@ -101,7 +93,8 @@
 autoreconf --force --install
 CFLAGS="%{optflags} %{warn_flags}"
 export CFLAGS
-%configure --disable-silent-rules \
+%configure \
+       --disable-silent-rules \
        --disable-static \
     --enable-sqlite \
        --with-pic \
@@ -111,7 +104,7 @@
 %install
 %make_install
 # remove unnecessary files
-rm -f %{buildroot}%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 # remove programs; built in another spec file
 rm -rf %{buildroot}%{_bindir}
 rm -rf %{buildroot}%{_mandir}/man1
@@ -119,16 +112,16 @@
 make -C examples distclean
 rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %check
 pushd src
-make check
+make %{?_smp_mflags} check
 popd
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-, root, root)
 %{_libdir}/libsndfile.so.1*
 

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

Reply via email to