Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcddb for openSUSE:Factory checked 
in at 2023-05-05 15:57:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcddb (Old)
 and      /work/SRC/openSUSE:Factory/.libcddb.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcddb"

Fri May  5 15:57:04 2023 rev:26 rq:1084685 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcddb/libcddb.changes  2021-06-13 
23:05:38.255613723 +0200
+++ /work/SRC/openSUSE:Factory/.libcddb.new.1533/libcddb.changes        
2023-05-05 15:57:08.708037013 +0200
@@ -1,0 +2,6 @@
+Thu May  4 09:53:33 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Transform into a proper _multibuild package: the spec is already
+  prepared and uses a few variables to distinguish flavors.
+
+-------------------------------------------------------------------

Old:
----
  libcddb-utils.changes
  libcddb-utils.spec
  libcddb_spec-prepare.sh
  pre_checkin.sh

New:
----
  _multibuild

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

Other differences:
------------------
++++++ libcddb.spec ++++++
--- /var/tmp/diff_new_pack.tiKPq6/_old  2023-05-05 15:57:09.244040083 +0200
+++ /var/tmp/diff_new_pack.tiKPq6/_new  2023-05-05 15:57:09.252040130 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libcddb
+# spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,66 +16,40 @@
 #
 
 
-Name:           libcddb
-# WARNING: After editing this file please call Re or rpmbuild to update spec 
file:
-#%(sh %{_sourcedir}/libcddb_spec-prepare.sh %{_sourcedir} %{name})
-# To break libcddb<->libcdio dependency loop, this package is built in two 
stages.
-%define BUILD_CORE 1
+%define flavor @BUILD_FLAVOR@%{nil}
 %define BUILD_UTILS 0
+%if "%{flavor}" == "utils"
+%define BUILD_UTILS 1
+%define nsuffix -utils
+%endif
+# To break libcddb<->libcdio dependency loop, this package is built in two 
stages.
 %define _name libcddb
+Name:           libcddb%{?nsuffix}
 Version:        1.3.2
 Release:        0
-URL:            http://libcddb.sourceforge.net/
 Summary:        CDDB Access Library Utilities
 License:        LGPL-2.1-or-later
 Group:          Productivity/Multimedia/Other
-%if %BUILD_CORE
-# bug437293
-%ifarch ppc64
-Obsoletes:      libcddb-64bit
-%endif
-%endif
+URL:            https://libcddb.sourceforge.net/
 Source:         
http://downloads.sourceforge.net/project/%{_name}/%{_name}/%{version}/%{_name}-%{version}.tar.bz2
-Source1:        %{_name}_spec-prepare.sh
 Source2:        baselibs.conf
+Patch0:         libcddb-no-examples.patch
 BuildRequires:  libtool
-BuildRequires:  pkg-config
-%if %BUILD_UTILS
-BuildRequires:  libcdio-devel
-%if !%BUILD_CORE
+BuildRequires:  pkgconfig
+%if %{BUILD_UTILS}
 BuildRequires:  libcddb-devel
+BuildRequires:  libcdio-devel
 %endif
-%endif
-Patch:          libcddb-no-examples.patch
 
 %description
 Libcddb is a library that implements the different protocols (CDDBP,
 HTTP, and SMTP) to access data on a CDDB server (http://freedb.org). It
 tries to be as cross-platform as possible.
 
-%if %BUILD_UTILS
-%if %BUILD_CORE
-
-%package -n libcddb-utils
-Summary:        CDDB Access Library Utilities
-Group:          Productivity/Multimedia/Other
-
-%description -n libcddb-utils
-Libcddb is a library that implements the different protocols (CDDBP,
-HTTP, and SMTP) to access data on a CDDB server (http://freedb.org). It
-tries to be as cross-platform as possible.
-
-%endif
-%endif
-%if %BUILD_CORE
-
+%if ! %{BUILD_UTILS}
 %package -n libcddb2
 Summary:        CDDB Access Library
 Group:          System/Libraries
-# bug437293
-%ifarch ppc64
-Obsoletes:      libcddb-64bit
-%endif
 #
 Provides:       %{_name} = %{version}
 #opensuse 10.3
@@ -91,24 +65,18 @@
 Group:          Development/Libraries/C and C++
 Requires:       glibc-devel
 Requires:       libcddb2 = %{version}
-# bug437293
-%ifarch ppc64
-Obsoletes:      libcddb-devel-64bit
-%endif
 
 %description devel
 Libcddb is a library that implements the different protocols (CDDBP,
 HTTP, and SMTP) to access data on a CDDB server (http://freedb.org). It
 tries to be as cross-platform as possible.
-
 %endif
 
 %prep
 %setup -q -n %{_name}-%{version}
-%if !%BUILD_UTILS
-%patch
-%endif
-%if !%BUILD_CORE
+%if !%{BUILD_UTILS}
+%patch0
+%else
 sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/lib\([^ ]*\)\.la:-l\2:g' 
*/Makefile.am
 %endif
 
@@ -117,34 +85,32 @@
 %configure\
        --disable-rpath\
        --disable-static
-%if !%BUILD_CORE
+%if %{BUILD_UTILS}
 cd examples
 %endif
 %make_build
 
 %install
-%if !%BUILD_CORE
+%if %{BUILD_UTILS}
 cd examples
 %endif
 %make_install
 rm -f %{buildroot}%{_libdir}/libcddb.la
 
-%if %BUILD_UTILS
-
-%files -n libcddb-utils
+%if %{BUILD_UTILS}
+%files
 %{_bindir}/*
-%endif
-%if %BUILD_CORE
 
-%post -n libcddb2 -p /sbin/ldconfig
+%else
 
-%postun -n libcddb2 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libcddb2
 
 %files -n libcddb2
 %{_libdir}/*.so.2*
 
 %files devel
-%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/cddb

++++++ _multibuild ++++++
<multibuild>
  <package>utils</package>
</multibuild>

Reply via email to