Hello community, here is the log from the commit of package liblastfm-qt5 for openSUSE:Factory checked in at 2016-05-23 16:38:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liblastfm-qt5 (Old) and /work/SRC/openSUSE:Factory/.liblastfm-qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liblastfm-qt5" Changes: -------- --- /work/SRC/openSUSE:Factory/liblastfm-qt5/liblastfm-qt5.changes 2015-02-08 11:42:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.liblastfm-qt5.new/liblastfm-qt5.changes 2016-05-23 16:38:46.000000000 +0200 @@ -1,0 +2,6 @@ +Sun May 8 08:38:19 UTC 2016 - mplus...@suse.com + +- Use cmake macro +- Small spec file cleanup with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liblastfm-qt5.spec ++++++ --- /var/tmp/diff_new_pack.Zg7Wwy/_old 2016-05-23 16:38:47.000000000 +0200 +++ /var/tmp/diff_new_pack.Zg7Wwy/_new 2016-05-23 16:38:47.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package liblastfm-qt5 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -25,14 +25,15 @@ Url: https://github.com/lastfm/liblastfm/ Source: liblastfm-%{version}.tar.gz Source1: baselibs.conf - BuildRequires: cmake BuildRequires: fftw3-devel BuildRequires: libsamplerate-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Sql) +BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Xml) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,6 +65,7 @@ Group: Development/Libraries/C and C++ Requires: liblastfm5-1 = %{version} Requires: liblastfm_fingerprint5-1 = %{version} +Requires: pkgconfig Requires: pkgconfig(Qt5Core) Requires: pkgconfig(Qt5DBus) Requires: pkgconfig(Qt5Network) @@ -80,32 +82,17 @@ %setup -q -n liblastfm-%{version} %build -mkdir -p build -pushd build -cmake .. \ - cmake -DCMAKE_BUILD_TYPE=None \\\ - -DCMAKE_C_FLAGS="%{optflags} -DNDEBUG" \\\ - -DCMAKE_CXX_FLAGS="%{optflags} -DNDEBUG" \\\ - -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ - -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ - -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ - -DCMAKE_VERBOSE_MAKEFILE=ON \\\ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\ - -DBUILD_TESTS=OFF \\\ - -DBUILD_WITH_QT4=OFF .. - - make %{?_smp_mflags} VERBOSE=1 -popd +%cmake \ + -DBUILD_WITH_QT4=OFF \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo +make %{?_smp_mflags} %install -%makeinstall -C build +%cmake_install %post -n liblastfm5-1 -p /sbin/ldconfig - %postun -n liblastfm5-1 -p /sbin/ldconfig - %post -n liblastfm_fingerprint5-1 -p /sbin/ldconfig - %postun -n liblastfm_fingerprint5-1 -p /sbin/ldconfig %files -n liblastfm5-1