commit id3lib for openSUSE:Factory

2024-02-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package id3lib for openSUSE:Factory checked 
in at 2024-02-22 21:01:24

Comparing /work/SRC/openSUSE:Factory/id3lib (Old)
 and  /work/SRC/openSUSE:Factory/.id3lib.new.1706 (New)


Package is "id3lib"

Thu Feb 22 21:01:24 2024 rev:34 rq:1149437 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/id3lib/id3lib.changes2021-06-19 
23:03:42.115732527 +0200
+++ /work/SRC/openSUSE:Factory/.id3lib.new.1706/id3lib.changes  2024-02-22 
21:02:30.099905597 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 13:34:51 UTC 2024 - Dominique Leuenberger 
+
+- Use %patch -P N instead of deprecated %patchN.
+
+---



Other differences:
--
++ id3lib.spec ++
--- /var/tmp/diff_new_pack.f05CZo/_old  2024-02-22 21:02:30.727928477 +0100
+++ /var/tmp/diff_new_pack.f05CZo/_new  2024-02-22 21:02:30.727928477 +0100
@@ -89,22 +89,22 @@
 
 %prep
 %setup -q
-%patch1
-%patch2
-%patch3
-%patch4 -p1
-%patch5 -p1
-%patch6
-%patch7
-%patch8
-%patch9
-%patch10
-%patch11
-%patch12
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
+%patch -P 1
+%patch -P 2
+%patch -P 3
+%patch -P 4 -p1
+%patch -P 5 -p1
+%patch -P 6
+%patch -P 7
+%patch -P 8
+%patch -P 9
+%patch -P 10
+%patch -P 11
+%patch -P 12
+%patch -P 13 -p1
+%patch -P 14 -p1
+%patch -P 15 -p1
+%patch -P 16 -p1
 for i in doc/id3v2.3.0{.txt,.html}; do
   dos2unix $i
 done


commit id3lib for openSUSE:Factory

2021-06-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package id3lib for openSUSE:Factory checked 
in at 2021-06-19 23:03:12

Comparing /work/SRC/openSUSE:Factory/id3lib (Old)
 and  /work/SRC/openSUSE:Factory/.id3lib.new.2625 (New)


Package is "id3lib"

Sat Jun 19 23:03:12 2021 rev:33 rq:900712 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/id3lib/id3lib.changes2019-10-12 
22:34:32.411036090 +0200
+++ /work/SRC/openSUSE:Factory/.id3lib.new.2625/id3lib.changes  2021-06-19 
23:03:42.115732527 +0200
@@ -1,0 +2,7 @@
+Mon Jun 14 10:30:38 UTC 2021 - Jan Engelhardt 
+
+- Remove --with-pic (no effect with --disable-static).
+- Modernize some macros.
+- Implement shared library packaging policy.
+
+---



Other differences:
--
++ id3lib.spec ++
--- /var/tmp/diff_new_pack.Ed1qJr/_old  2021-06-19 23:03:42.699733428 +0200
+++ /var/tmp/diff_new_pack.Ed1qJr/_new  2021-06-19 23:03:42.703733434 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package id3lib
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%define lname  libid3-3_8-3
 Name:   id3lib
 Version:3.8.3
 Release:0
@@ -52,6 +53,14 @@
 BuildRequires:  zlib-devel
 
 %description
+A software library for manipulating ID3v1 and ID3v2 tags.
+
+%package -n %{lname}
+Summary:A Library for Manipulating ID3v1 and ID3v2 tags
+Obsoletes:  id3lib < %{version}-%{release}
+Provides:   id3lib = %{version}-%{release}
+
+%description -n %{lname}
 This package provides a software library for manipulating ID3v1 and
 ID3v2 tags. It provides a convenient interface for software developers
 to include standards-compliant ID3v1/2 tagging capabilities in their
@@ -62,7 +71,7 @@
 
 %package  devel
 Summary:Documentation and Headers for id3lib
-Requires:   %{name} = %{version}
+Requires:   %{lname} = %{version}
 Requires:   libstdc++-devel
 
 %description   devel
@@ -106,10 +115,9 @@
 autoreconf -fiv
 %configure \
   --disable-static \
-  --with-pic \
   --enable-debug=no
-make %{?_smp_mflags}
-make -j1 docs
+%make_build
+%make_build docs -j1
 
 %install
 %make_install
@@ -118,19 +126,20 @@
 chmod 644 examples/*
 # strip down the doc and examples directories so we can copy w/impunity
 for i in doc/ examples/ ; do \
-find ./$i  -name 'Makefile*' -exec rm {} \; ; done
+find ./$i  -name 'Makefile*' -delete
+done
 find %{buildroot} -type f -name "*.la" -delete -print
 %fdupes -s doc
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post   -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files
+%files -n %{lname}
 %license COPYING
-%doc AUTHORS ChangeLog HISTORY NEWS README THANKS TODO
 %{_libdir}/*.so.*
 
 %files devel
+%doc AUTHORS ChangeLog HISTORY NEWS README THANKS TODO
 %{_includedir}/id3*.h
 %{_includedir}/id3
 %{_libdir}/*.so