Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmusicbrainz for openSUSE:Factory checked in at 2021-07-10 22:54:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmusicbrainz (Old) and /work/SRC/openSUSE:Factory/.libmusicbrainz.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmusicbrainz" Sat Jul 10 22:54:38 2021 rev:24 rq:905434 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmusicbrainz/libmusicbrainz.changes 2016-05-31 12:10:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmusicbrainz.new.2625/libmusicbrainz.changes 2021-07-10 22:55:09.199457162 +0200 @@ -1,63 +1 @@ -------------------------------------------------------------------- -Wed May 25 09:05:01 UTC 2016 - martin.li...@suse.com - -- Add patch gcc6-fix-errors.patch to remove errors seen by GCC6. - -------------------------------------------------------------------- -Sat Nov 19 20:43:03 UTC 2011 - co...@suse.com - -- add libtool as buildrequire to avoid implicit dependency - -------------------------------------------------------------------- -Fri Apr 14 13:38:21 UTC 2011 - toddrme2...@gmail.com - -- added 32bit compatibility libraries -- package no longer obsoletes itself (fix for RPMLINT warning) -- added BuildRequires: pkg-config (fix for RPMLINT warning) - -------------------------------------------------------------------- -Sat Dec 12 16:47:24 UTC 2009 - a...@suse.de - -- Do not package Makefiles since they only work within the build - directory. - -------------------------------------------------------------------- -Sat Aug 16 21:56:37 CEST 2008 - crrodrig...@suse.de - -- remove static libraries and "la" files -- correct -devel package dependencies - -------------------------------------------------------------------- -Mon Jan 7 11:51:20 CET 2008 - ssom...@suse.de - -- fix build with gcc43 - -------------------------------------------------------------------- -Mon Jul 30 00:50:52 CEST 2007 - r...@suse.de - -- provide old name - -------------------------------------------------------------------- -Wed Jul 25 16:06:14 CEST 2007 - sbra...@suse.cz - -- Updated to version 2.1.5: - * Fixed compilation on GCC 4.3. - * Fix the patch for buffer overflows in rdfparse.c. - * Patch to allow manually entering the CD TOC information. - * Fixed configure.in to work with newer versions of autoconf. - * Buffer overflow in MBHttp::WriteToBuffer. - * Python bindings: No shebang in non-executable scripts. -- Name package according to shared library packaging policy. - -------------------------------------------------------------------- -Fri Apr 27 23:36:56 CEST 2007 - dmuel...@suse.de - -- fix -devel requires - -------------------------------------------------------------------- -Fri Apr 27 18:56:16 CEST 2007 - a...@suse.de - -- Add libexpat-devel to BuildRequires. - -------------------------------------------------------------------- -Thu Aug 31 18:24:16 CEST 2006 - sbra...@suse.cz +Sat Jul 10 07:49:54 UTC 2021 - Dave Plater <davejpla...@gmail.com> @@ -65,5 +3,3 @@ -- Updated to version 2.1.4 (#199134): - * Security fix CVE-2006-4197: - * Fixed buffer overflows in the RDF parsing and HTTP code. - * Fixed invalid memory access in the HTTP code. - * Fixed memory leaks in RDFExtract. +- Copied libmusicbrainz5 package and fixed spec file to fix factory + build failure. Deleted obsolete libmusicbrainz-2.1.5-gcc43.patch + and gcc6-fix-errors.patch @@ -72 +8 @@ -Mon Jul 17 17:24:12 CEST 2006 - lmichno...@suse.cz +Fri Mar 27 10:57:12 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org> @@ -74,2 +10,2 @@ -- fixed failing build (buildhack.patch) - just workaround, needs further investigation +- Add musicbrainz-cmake-noglob.patch: do not use wildcards for + dependencies. Fixes build when using ninja. @@ -78 +14 @@ -Wed Jan 25 21:37:34 CET 2006 - m...@suse.de +Tue Sep 18 08:40:11 UTC 2018 - Tom???? Chv??tal <tchva...@suse.com> @@ -80 +16,4 @@ -- converted neededforbuild to BuildRequires +- Switch to %cmake macros +- Drop the test phase, it does nothing it just compiles file that + can communicate with the musicbrainz server, which can't be + validated in OBS @@ -83 +22 @@ -Tue Jan 10 17:27:11 CET 2006 - sbra...@suse.cz +Thu Feb 5 08:21:22 UTC 2015 - p.drou...@gmail.com @@ -85 +24,7 @@ -- Updated to version 2.1.2. +- Update to version 5.1.0 + * Fix LMB-33 - Handle 'ended' element in 'relation' + * Fix LMB-34 - Remove non-free XML parser and replace with libxml2 + * Add support for cross-compilation and building out of tree +- Add pkgconfig(libxml-2.0) build requires; new upstream dependency +- Bump so version to 5-1 +- Delete 0001-Correct-inconsistent-licensing-text.patch @@ -88 +33 @@ -Mon Oct 31 20:12:26 CET 2005 - dmuel...@suse.de +Sat Oct 11 02:17:27 UTC 2014 - crrodrig...@opensuse.org @@ -90 +35 @@ -- don't build as root +- Build the shared library with -fvisibility-inlines-hidden @@ -93 +38 @@ -Mon Apr 11 19:32:35 CEST 2005 - sbra...@suse.cz +Wed Sep 12 16:12:57 CEST 2012 - oher...@suse.de @@ -95 +40 @@ -- Fixed invalid cast. +- Correct inconsistent licensing text (bnc#779931) @@ -98 +43 @@ -Fri Aug 6 10:18:33 CEST 2004 - adr...@suse.de +Sun Jun 10 23:37:45 CEST 2012 - oher...@suse.de @@ -100 +45,3 @@ -- add c++ enviroment to nfb +- Update to 5.0.1 + Fix LMB-32 - Correctly ignore unrecognised nodes + Don't compile using -Werror when building from tarball @@ -103 +50 @@ -Fri Aug 6 09:53:21 CEST 2004 - adr...@suse.de +Wed May 16 09:19:14 CEST 2012 - oher...@suse.de @@ -105 +52,2 @@ -- update to version 2.1.1 +- Update to 5.0.0 + Deprecated functions removed @@ -108 +56 @@ -Wed Apr 21 01:43:10 CEST 2004 - r...@suse.de +Wed May 16 07:18:14 CEST 2012 - oher...@suse.de @@ -110 +58,9 @@ -- specify void return for tiger_compress +- Update to 4.0.2 + Add extra attributes to Alias + Add IPI lists to Artist and Label + Add 'Ended' to Lifespan + Add PrimaryType and SecondaryTypeList to ReleaseGroup + Add text based track number to Track + Add ISWC list to Work + Debug builds show queries and responses on stderr + Documentation updates @@ -113 +69 @@ -Fri Apr 16 11:39:37 CEST 2004 - r...@suse.de +Wed May 2 16:46:41 CEST 2012 - oher...@suse.de @@ -115 +71,3 @@ -- remove un-neccessary version line in devel subpackage +- Update to 4.0.1 + Fixed bug LMB-30 - Unable to access all relation lists on objects with multiple relation lists + Fixed bug LMB-31 - mb_relationlist_get_targettype always returns "target-type" @@ -118 +76 @@ -Tue Feb 10 09:31:35 CET 2004 - co...@suse.de +Sat Mar 24 13:37:36 UTC 2012 - dims...@opensuse.org @@ -120 +78 @@ -- fix build on x86_64 +- Add libmusicbrainz4-gcc47.patch: Fix build with gcc 4.7. @@ -123 +81 @@ -Sat Aug 16 15:28:14 CEST 2003 - co...@suse.de +Sun Feb 26 15:38:57 UTC 2012 - vu...@opensuse.org @@ -125 +83,12 @@ -- fix require after rename +- Cleanup for inclusion in Factory: + + Add copyright header. + + Drop libmusicbrainz4-trunk.patch and + libmusicbrainz4-update-trunk-patch.sh: remove setup to add + patch for trunk, since it's unused, and I don't think it's + needed anymore. + + Remove libmusicbrainz4 Provides from libmusicbrainz4-3: there + is already a libmusicbrainz4 binary package (from an earlier + version of libmusicbrainz; because of the shared library + packaging policy), and that would just create some confusion. + + Fix baselibs.conf. + + Run spec-cleaner. @@ -128 +97 @@ -Tue Aug 12 14:15:18 CEST 2003 - sbra...@suse.cz +Tue Jan 17 08:20:48 CET 2012 - oher...@suse.de @@ -130,2 +99,2 @@ -- Package renamed and splitted. -- Updated to version 2.0.2. +- Update to 4.0.0 + Added support for collection list being returned as part of a release @@ -134,55 +103 @@ -Thu Oct 17 16:17:21 CEST 2002 - sbra...@suse.cz - -- Update to version 1.1.0. - -------------------------------------------------------------------- -Fri Aug 30 15:58:06 CEST 2002 - pmla...@suse.cz - -- fixed dependency of the devel subpackage on the main package (used %version) - -------------------------------------------------------------------- -Tue Jan 15 17:46:58 CET 2002 - pmla...@suse.cz - -- updated to version 1.0.1 - ++++ 44 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/libmusicbrainz/libmusicbrainz.changes ++++ and /work/SRC/openSUSE:Factory/.libmusicbrainz.new.2625/libmusicbrainz.changes Old: ---- gcc6-fix-errors.patch libmusicbrainz-2.1.5-gcc43.patch libmusicbrainz-2.1.5.tar.bz2 New: ---- libmusicbrainz-5.1.0.tar.gz musicbrainz-cmake-noglob.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmusicbrainz.spec ++++++ --- /var/tmp/diff_new_pack.tZ8aIR/_old 2021-07-10 22:55:09.855452098 +0200 +++ /var/tmp/diff_new_pack.tZ8aIR/_new 2021-07-10 22:55:09.859452068 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmusicbrainz # -# Copyright (c) 2016 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 @@ -12,84 +12,78 @@ # 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: libmusicbrainz -BuildRequires: gcc-c++ -BuildRequires: libexpat-devel -BuildRequires: libtool -BuildRequires: pkg-config -Summary: Library That Provides Access to the MusicBrainz Server -License: LGPL-2.1+ -Group: System/Libraries -Version: 2.1.5 +Version: 5.1.0 Release: 0 -Url: http://www.musicbrainz.org/ -Source: %{name}-%{version}.tar.bz2 -Source1000: baselibs.conf -Patch0: libmusicbrainz-2.1.5-gcc43.patch -# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Fix errors spotted by GCC6. -Patch1: gcc6-fix-errors.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: Library That Provides Access to the MusicBrainz Server +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +URL: http://musicbrainz.org/doc/libmusicbrainz +Source0: https://github.com/metabrainz/libmusicbrainz/releases/download/release-%{version}/%{name}-%{version}.tar.gz +Source1: baselibs.conf +# PATCH-FIX-UPSTREAM musicbrainz-cmake-noglob.patch dims...@opensuse.org -- do not use wildcards for dependencies +Patch0: musicbrainz-cmake-noglob.patch +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: neon-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libxml-2.0) %description MusicBrainz is the second generation incarnation of the CD Index. This server is designed to enable audio CD, MP3 and Vorbis players to download metadata about the music they are playing. -%package -n libmusicbrainz4 +%package -n libmusicbrainz5-1 Summary: Library That Provides Access to the MusicBrainz Server Group: System/Libraries -Provides: %{name} = %{version} -Obsoletes: %{name} < %{version} -%description -n libmusicbrainz4 +%description -n libmusicbrainz5-1 MusicBrainz is the second generation incarnation of the CD Index. This server is designed to enable audio CD, MP3 and Vorbis players to download metadata about the music they are playing. %package devel -Requires: libmusicbrainz4 = %{version} libstdc++-devel -Summary: Include Files and Libraries Mandatory for Development +Summary: Library That Provides Access to the MusicBrainz Server Group: Development/Libraries/C and C++ +Requires: libmusicbrainz5-1 = %{version} +Requires: libstdc++-devel +Provides: libmusicbrainz5-devel = %{version}-%{release} +Obsoletes: libmusicbrainz5-devel < %{version}-%{release} %description devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +MusicBrainz is the second generation incarnation of the CD Index. This +server is designed to enable audio CD, MP3 and Vorbis players to +download metadata about the music they are playing. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -n %{name}-%{version} -p1 %build -autoreconf -fiv -%configure --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" +CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -fvisibility-inlines-hidden" +%cmake +make %{?_smp_mflags} VERBOSE=1 %install -%makeinstall -rm -f %{buildroot}%{_libdir}/libmusicbrainz.la - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -n libmusicbrainz4 -p /sbin/ldconfig +%cmake_install -%postun -n libmusicbrainz4 -p /sbin/ldconfig +%post -n libmusicbrainz5-1 -p /sbin/ldconfig +%postun -n libmusicbrainz5-1 -p /sbin/ldconfig -%files -n libmusicbrainz4 -%defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog README TODO -%{_libdir}/libmusicbrainz.so.4* +%files -n libmusicbrainz5-1 +%license COPYING.txt +%doc AUTHORS.txt NEWS.txt README.md +%{_libdir}/libmusicbrainz5.so.[0-9]* %files devel -%defattr(-, root, root) -%doc examples/*cpp examples/*c -%{_includedir}/musicbrainz -%{_libdir}/libmusicbrainz.so -%{_libdir}/pkgconfig/*.pc +%doc examples/*.cc examples/*.c +%{_includedir}/musicbrainz5/ +%{_libdir}/libmusicbrainz5.so +%{_libdir}/pkgconfig/libmusicbrainz5.pc %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.tZ8aIR/_old 2021-07-10 22:55:09.883451883 +0200 +++ /var/tmp/diff_new_pack.tZ8aIR/_new 2021-07-10 22:55:09.883451883 +0200 @@ -1 +1 @@ -libmusicbrainz4 +libmusicbrainz5-1 ++++++ musicbrainz-cmake-noglob.patch ++++++ >From 36262d60fe92fe7a2c9bfb40e736bfcd29a6c3bd Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni <a.kito...@gmail.com> Date: Fri, 13 Apr 2018 09:56:57 +0100 Subject: [PATCH] src/CMakelists.txt: do not use wildcards for dependencies This is discouraged by cmake's documentation and doesn't work with the ninja generator. --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: libmusicbrainz-5.1.0/src/CMakeLists.txt =================================================================== --- libmusicbrainz-5.1.0.orig/src/CMakeLists.txt +++ libmusicbrainz-5.1.0/src/CMakeLists.txt @@ -36,7 +36,8 @@ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.cc ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h COMMAND make-c-interface ${CMAKE_CURRENT_SOURCE_DIR} cinterface.xml ${CMAKE_CURRENT_BINARY_DIR} mb5_c.cc mb5_c.h COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h - DEPENDS make-c-interface cinterface.xml *.inc + DEPENDS make-c-interface cinterface.xml c-int-medium-defines.inc c-int-query-source.inc c-int-source-funcs.inc + c-int-medium-source.inc c-int-release-defines.inc c-int-query-defines.inc c-int-release-source.inc ) ADD_CUSTOM_TARGET(src_gen DEPENDS mb5_c.h)