Hello community,

here is the log from the commit of package libofa for openSUSE:Factory checked 
in at 2017-08-18 14:56:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libofa (Old)
 and      /work/SRC/openSUSE:Factory/.libofa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libofa"

Fri Aug 18 14:56:41 2017 rev:24 rq:516800 version:0.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libofa/libofa.changes    2012-03-22 
12:35:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libofa.new/libofa.changes       2017-08-18 
14:56:43.842967843 +0200
@@ -1,0 +2,5 @@
+Mon Aug 14 11:33:56 UTC 2017 - tchva...@suse.com
+
+- Cleanup with spec-cleaner a bit
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libofa.spec ++++++
--- /var/tmp/diff_new_pack.kWTQ04/_old  2017-08-18 14:56:45.362753894 +0200
+++ /var/tmp/diff_new_pack.kWTQ04/_new  2017-08-18 14:56:45.370752769 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libofa
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,11 +17,11 @@
 
 
 Name:           libofa
-Summary:        Open Fingerprint Architecture Library
-License:        GPL-2.0+ or APL-1.0
-Group:          System/Libraries
 Version:        0.9.3
 Release:        0
+Summary:        Open Fingerprint Architecture Library
+License:        GPL-2.0+ OR APL-1.0
+Group:          System/Libraries
 Url:            http://code.google.com/p/musicip-libofa/
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
@@ -32,12 +32,14 @@
 Patch4:         libofa-curl-types.patch
 Patch5:         libofa-0.9.3-gcc47.patch
 BuildRequires:  curl-devel
-BuildRequires:  fftw3-devel
+BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
-BuildRequires:  libexpat-devel
 BuildRequires:  libtool
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(expat)
+BuildRequires:  pkgconfig(fftw3)
+BuildRequires:  pkgconfig(fftw3f)
+BuildRequires:  pkgconfig(fftw3l)
 
 %description
 MusicDNS and the Open Fingerprint Architecture provide a system for
@@ -48,12 +50,9 @@
 http://www.musicdns.org.
 
 %package -n libofa0
-
 Summary:        Open Fingerprint Architecture Library
 Group:          System/Libraries
 Provides:       %{name} = %{version}
-#opensuse 10.3
-Obsoletes:      libofa < 0.9.3
 
 %description -n libofa0
 MusicDNS and the Open Fingerprint Architecture provide a system for
@@ -64,13 +63,12 @@
 http://www.musicdns.org.
 
 %package devel
-
-Requires:       fftw3-devel
-Requires:       glibc-devel
-Requires:       libexpat-devel
-Requires:       libofa0 = %{version}
 Summary:        Open Fingerprint Architecture Library
 Group:          Development/Libraries/C and C++
+Requires:       glibc-devel
+Requires:       libofa0 = %{version}
+Requires:       pkgconfig(expat)
+Requires:       pkgconfig(fftw3)
 
 %description devel
 MusicDNS and the Open Fingerprint Architecture provide a system for
@@ -88,36 +86,29 @@
 %patch3 -p1
 %patch4
 %patch5 -p1
-tr -d '\r' <README >README~
-mv README~ README
+dos2unix README
 
 %build
-autoreconf -fi
-%configure  --disable-static --with-pic
-make %{?jobs:-j%jobs}
+autoreconf -fvi
+%configure  --disable-static
+make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %files -n libofa0
-%defattr(-, root, root)
 %{_libdir}/lib*.so.0*
 
 %files devel
-%defattr(-, root, root)
 %doc AUTHORS COPYING README
 %doc examples/*.cpp examples/*.h
 %dir %{_includedir}/ofa1
 %{_includedir}/ofa1/*.h
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
-%exclude %{_libdir}/lib*.*a
 
 %post -n libofa0 -p /sbin/ldconfig
-
 %postun -n libofa0 -p /sbin/ldconfig
 
 %changelog


Reply via email to