Hello community,

here is the log from the commit of package libgsm for openSUSE:Factory checked 
in at 2019-08-16 15:32:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgsm (Old)
 and      /work/SRC/openSUSE:Factory/.libgsm.new.22127 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgsm"

Fri Aug 16 15:32:08 2019 rev:26 rq:723236 version:1.0.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgsm/libgsm.changes    2019-02-27 
15:04:52.182469859 +0100
+++ /work/SRC/openSUSE:Factory/.libgsm.new.22127/libgsm.changes 2019-08-16 
15:32:12.301933834 +0200
@@ -1,0 +2,5 @@
+Wed Aug 14 08:41:11 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Small cleanups with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libgsm.spec ++++++
--- /var/tmp/diff_new_pack.PxEQYh/_old  2019-08-16 15:32:13.657933440 +0200
+++ /var/tmp/diff_new_pack.PxEQYh/_new  2019-08-16 15:32:13.661933438 +0200
@@ -16,22 +16,21 @@
 #
 
 
-Name:           libgsm
 %define _name gsm
+%define _version 1.0-pl18
+Name:           libgsm
 Version:        1.0.18
 Release:        0
-%define _version 1.0-pl18
 Summary:        GSM 06.10 Lossy Speech Compressor Library and Utilities
 License:        ISC
 Group:          Productivity/Multimedia/Sound/Editors and Convertors
+URL:            http://www.quut.com/gsm/
 Source:         http://www.quut.com/gsm/%{_name}-%{version}.tar.gz
 Source2:        baselibs.conf
-Url:            http://www.quut.com/gsm/
 # This is a Debian patch file with debian chunks removed.
-Patch:          %{name}-1.0.13.patch
+Patch0:         %{name}-1.0.13.patch
 Patch1:         libgsm-paths.patch
 Patch2:         libgsm-include.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 libgsm implements the European GSM 06.10 provisional standard for
@@ -70,7 +69,7 @@
 
 %package devel
 Summary:        GSM 06.10 Lossy Speech Compressor Library and Utilities
-Group:          Productivity/Multimedia/Sound/Editors and Convertors
+Group:          Development/Libraries/C and C++
 Requires:       libgsm1 = %{version}
 
 %description devel
@@ -86,45 +85,42 @@
 standard test patterns.
 
 %prep
-%setup -n %{_name}-%{_version}
-%patch -p1
+%setup -q -n %{_name}-%{_version}
+%patch0 -p1
 %patch1
 %patch2
 
 %build
-make CCFLAGS="-c $RPM_OPT_FLAGS -D_POSIX_SOURCE -D_BSD_SOURCE 
-DNeedFunctionPrototypes=1" lib/libgsm.a
+make -j1 CCFLAGS="-c %{optflags} -D_POSIX_SOURCE -D_BSD_SOURCE 
-DNeedFunctionPrototypes=1" lib/libgsm.a
 cp lib/libgsm.a lib/libgsm.a.save
-make clean
-make CCFLAGS="-c $RPM_OPT_FLAGS -D_POSIX_SOURCE -D_BSD_SOURCE 
-DNeedFunctionPrototypes=1 -fPIC"
+make -j1 clean
+make -j1 CCFLAGS="-c %{optflags} -D_POSIX_SOURCE -D_BSD_SOURCE 
-DNeedFunctionPrototypes=1 -fPIC"
 cp lib/libgsm.a.save lib/libgsm.a
 touch lib/libgsm.a
 
 %install
-mkdir -p $RPM_BUILD_ROOT%{_prefix}/{include/gsm,%{_lib},bin,share/man/man{1,3}}
-make INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix} 
GSM_INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir} install
-cp -d lib/libgsm.so* $RPM_BUILD_ROOT%{_libdir}
-( cd $RPM_BUILD_ROOT%{_libdir} ; ln -sf libgsm.so.1 libgsm.so )
-cp inc/{private.h,proto.h,unproto.h} $RPM_BUILD_ROOT%{_includedir}/gsm/
-%{__rm} -f %{buildroot}%{_libdir}/*.a
+mkdir -p %{buildroot}%{_prefix}/{include/gsm,%{_lib},bin,share/man/man{1,3}}
+make INSTALL_ROOT=%{buildroot}%{_prefix} 
GSM_INSTALL_LIB=%{buildroot}%{_libdir} install
+cp -d lib/libgsm.so* %{buildroot}%{_libdir}
+( cd %{buildroot}%{_libdir} ; ln -sf libgsm.so.1 libgsm.so )
+cp inc/{private.h,proto.h,unproto.h} %{buildroot}%{_includedir}/gsm/
+rm -f %{buildroot}%{_libdir}/*.a
 
 %post -n libgsm1 -p /sbin/ldconfig
 %postun -n libgsm1 -p /sbin/ldconfig
 
 %files utils
-%defattr (-, root, root)
 %{_bindir}/*
-%doc %{_mandir}/man1/*.*
+%{_mandir}/man1/*.*
 
 %files -n libgsm1
-%defattr (-, root, root)
 %license COPYRIGHT
 %doc ChangeLog MACHINES README
 %{_libdir}/*.so.*
 
 %files devel
-%defattr (-, root, root)
 %{_libdir}/*.so
-%doc %{_mandir}/man3/*.*
+%{_mandir}/man3/*.*
 %{_includedir}/gsm
 
 %changelog


Reply via email to