Hello community, here is the log from the commit of package libmusicbrainz5 for openSUSE:Factory checked in at 2018-09-26 14:53:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmusicbrainz5 (Old) and /work/SRC/openSUSE:Factory/.libmusicbrainz5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmusicbrainz5" Wed Sep 26 14:53:25 2018 rev:8 rq:636598 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmusicbrainz5/libmusicbrainz5.changes 2015-02-16 07:36:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libmusicbrainz5.new/libmusicbrainz5.changes 2018-09-26 14:53:28.931101557 +0200 @@ -1,0 +2,8 @@ +Tue Sep 18 08:40:11 UTC 2018 - Tomáš Chvátal <[email protected]> + +- 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 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmusicbrainz5.spec ++++++ --- /var/tmp/diff_new_pack.JR9waB/_old 2018-09-26 14:53:29.435100783 +0200 +++ /var/tmp/diff_new_pack.JR9waB/_new 2018-09-26 14:53:29.435100783 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmusicbrainz5 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,26 +12,25 @@ # 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: libmusicbrainz5 %define _name libmusicbrainz +Name: libmusicbrainz5 Version: 5.1.0 Release: 0 Summary: Library That Provides Access to the MusicBrainz Server -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: http://musicbrainz.org/doc/libmusicbrainz -Source0: %{_name}-%{version}.tar.gz +URL: http://musicbrainz.org/doc/libmusicbrainz +Source0: https://github.com/metabrainz/libmusicbrainz/releases/download/release-%{version}/%{_name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: neon-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(libxml-2.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description MusicBrainz is the second generation incarnation of the CD Index. This @@ -64,37 +63,22 @@ %build CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" CXXFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -fvisibility-inlines-hidden" -export CFLAGS -export CXXFLAGS -cmake \ - . \ -%if "%{_lib}" != "lib" - -DLIB_SUFFIX=64 \ -%endif - -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ - -DBUILD_SHARED_LIBS:BOOL=ON +%cmake make %{?_smp_mflags} VERBOSE=1 -%check -export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) -make %{?_smp_mflags} ctest -unset MALLOC_CHECK_ MALLOC_PERTURB_ - %install -%make_install +%cmake_install %post -n libmusicbrainz5-1 -p /sbin/ldconfig - %postun -n libmusicbrainz5-1 -p /sbin/ldconfig %files -n libmusicbrainz5-1 -%defattr(-, root, root) -%doc AUTHORS.txt COPYING.txt NEWS.txt README.md +%license COPYING.txt +%doc AUTHORS.txt NEWS.txt README.md %{_libdir}/libmusicbrainz5.so.[0-9]* %files devel -%defattr(-, root, root) -%doc examples/Makefile* examples/*.cc examples/*.c +%doc examples/*.cc examples/*.c %{_includedir}/musicbrainz5/ %{_libdir}/libmusicbrainz5.so %{_libdir}/pkgconfig/libmusicbrainz5.pc
