Hello community,

here is the log from the commit of package libcdaudio for openSUSE:Factory 
checked in at 2019-07-11 13:17:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcdaudio (Old)
 and      /work/SRC/openSUSE:Factory/.libcdaudio.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcdaudio"

Thu Jul 11 13:17:10 2019 rev:22 rq:714242 version:0.99.12p2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcdaudio/libcdaudio.changes    2012-11-28 
10:39:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcdaudio.new.4615/libcdaudio.changes  
2019-07-11 13:17:11.418790133 +0200
@@ -1,0 +2,11 @@
+Tue Jul  9 12:46:17 UTC 2019 - Luigi Baldoni <[email protected]>
+
+- Update to version 0.99.12p2
+  * (configure.ac): Fix IRIX detection. Permit nonnumeric versions
+    in Automake.
+- Added baselibs.conf as source
+- Added libcdaudio-getmntinfo.patch to fix Factory build
+  (courtesy of debian)
+- Spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  libcdaudio-0.99.12.tar.bz2

New:
----
  libcdaudio-0.99.12p2.tar.gz
  libcdaudio-getmntinfo.patch

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

Other differences:
------------------
++++++ libcdaudio.spec ++++++
--- /var/tmp/diff_new_pack.NZlg9B/_old  2019-07-11 13:17:11.922789974 +0200
+++ /var/tmp/diff_new_pack.NZlg9B/_new  2019-07-11 13:17:11.926789972 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libcdaudio
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,89 +12,87 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-Name:           libcdaudio
 %define lname   libcdaudio1
-BuildRequires:  pkg-config
+Name:           libcdaudio
+Version:        0.99.12p2
+Release:        0
 Summary:        Functions to Control Operation of a CD-ROM When Playing Audio 
CDs
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Multimedia/CD/Grabbers
-Url:            http://libcdaudio.sourceforge.net/
-Version:        0.99.12
-Release:        0
-Source:         libcdaudio-0.99.12.tar.bz2
-Patch:          libcdaudio-max_matches.diff
+URL:            http://libcdaudio.sourceforge.net/
+Source:         
https://sourceforge.net/projects/libcdaudio/files/libcdaudio/%{version}/libcdaudio-%{version}.tar.gz
+Source98:       baselibs.conf
+Patch0:         libcdaudio-max_matches.diff
 Patch1:         libcdaudio-libdir.diff
 Patch2:         libcdaudio-buffer-overflow.diff
 Patch3:         libcdaudio-double_free.diff
 Patch4:         libcdaudio-closedir.diff
 Patch5:         libcdaudio-fclose.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch6:         libcdaudio-getmntinfo.patch
+BuildRequires:  pkgconfig
 
 %description
 libcdaudio is a library designed to provide functions to control
 operation of a CD-ROM when playing audio CDs.  It also contains
 functions for CDDB and CD index lookup.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        Functions to control oepration of a CD-ROM while playing audio 
CDs
-Group:          System/Libraries
 # O/P added in 12.3
-Provides:       %name = %version-%release
-Obsoletes:      %name < %version-%release
+Group:          System/Libraries
+Provides:       %{name} = %{version}-%{release}
+Obsoletes:      %{name} < %{version}-%{release}
 
-%description -n %lname
+%description -n %{lname}
 libcdaudio is a library designed to provide functions to control
 operation of a CD-ROM when playing audio CDs.  It also contains
 functions for CDDB and CD index lookup.
 
 %package devel
-Requires:       %lname = %version
 Summary:        Provide functions to control operation of a CD-ROM when 
playing audio CDs
 Group:          Development/Libraries/C and C++
+Requires:       %{lname} = %{version}
 
 %description devel
 libcdaudio is a library designed to provide functions to control
 operation of a CD-ROM when playing audio CDs.  It also contains
 functions for CDDB and CD Index lookup.
 
-
-
 %prep
 %setup -q
-%patch
+%patch0
 %patch1
 %patch2
 %patch3
 %patch4
 %patch5
+%patch6 -p1
 
 %build
 %configure --disable-static --with-pic
 make %{?_smp_mflags} -k
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f "%buildroot/%_libdir"/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
-
-%files -n %lname
-%defattr(-, root, root)
-%doc README
-%_libdir/libcdaudio.so.1*
+%files -n %{lname}
+%license COPYING
+%{_libdir}/libcdaudio.so.1*
 
 %files devel
-%defattr(-, root, root)
-/usr/bin/libcdaudio-config
-/usr/include/cdaudio.h
-%_libdir/pkgconfig/libcdaudio.pc
-/usr/share/aclocal/libcdaudio.m4
+%doc README
+%{_bindir}/libcdaudio-config
+%{_includedir}/cdaudio.h
+%{_libdir}/pkgconfig/libcdaudio.pc
+%{_datadir}/aclocal/libcdaudio.m4
 %{_libdir}/libcdaudio.so
 
 %changelog

++++++ libcdaudio-getmntinfo.patch ++++++
Author: Petr Salinger <[email protected]>
Description: Fixes FTBFS on kFreeBSD (Closes: #497013).

diff -Naurp libcdaudio.orig/src/cdaudio.c libcdaudio/src/cdaudio.c
--- libcdaudio.orig/src/cdaudio.c       2008-06-21 14:49:54.000000000 +0200
+++ libcdaudio/src/cdaudio.c    2008-08-29 10:41:07.000000000 +0200
@@ -118,8 +118,7 @@ cd_init_device(char *device_name)
 #elif defined(HAVE_GETMNTENT)
   FILE *mounts;
   struct mntent *mnt;
-#endif
-#ifdef HAVE_GETMNTINFO
+#elif defined(HAVE_GETMNTINFO)
   int mounts;
   struct statfs *mnt;
 #endif
@@ -163,8 +162,7 @@ cd_init_device(char *device_name)
     }
   }
   endmntent(mounts);
-#endif
-#ifdef HAVE_GETMNTINFO
+#elif defined(HAVE_GETMNTINFO)
   for ( (mounts = getmntinfo(&mnt, 0)); mounts > 0;)
     {
       mounts--;

Reply via email to