Hello community,

here is the log from the commit of package blosc for openSUSE:Factory checked 
in at 2016-02-17 10:26:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blosc (Old)
 and      /work/SRC/openSUSE:Factory/.blosc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "blosc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/blosc/blosc.changes      2015-08-10 
09:16:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.blosc.new/blosc.changes 2016-02-17 
12:09:54.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 15 14:45:03 UTC 2016 - mkra...@suse.com
+
+- Replaced long syntax with macros %cmake, %cmake_install, %ctest
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ blosc.spec ++++++
--- /var/tmp/diff_new_pack.dKNmJq/_old  2016-02-17 12:09:54.000000000 +0100
+++ /var/tmp/diff_new_pack.dKNmJq/_new  2016-02-17 12:09:54.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package blosc
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -16,25 +16,23 @@
 #
 
 
+%define major   1
+%define libname lib%{name}%{major}
 Name:           blosc
 Version:        1.6.1
 Release:        0
-%define major   1
-%define libname lib%{name}%{major}
 Summary:        A blocking, shuffling and lossless compression library
 License:        MIT and BSD-3-Clause and BSD-2-Clause
 Group:          System/Libraries
 Url:            http://www.blosc.org/
-# NOTE: you MUST rename the source to "v%{version}.tar.gz" or the source 
validator won't work
-# github is weird because it renames files when you try to download them
 Source:         https://github.com/Blosc/c-blosc/archive/v%{version}.tar.gz 
+Patch1:         0001-Fix-cmake-system-check.patch
+Patch2:         0002-Fix-compilation-on-unknown-archs.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  snappy-devel
 BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Patch1:         0001-Fix-cmake-system-check.patch
-Patch2:         0002-Fix-compilation-on-unknown-archs.patch
 
 %description
 Blosc is a high performance compressor optimized for binary data.
@@ -107,33 +105,21 @@
 %patch2        -p1
 
 %build
-mkdir -p build
-pushd build
-cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
-      -DLIB_SUFFIX=64 \
-%endif
-      -DCMAKE_C_FLAGS="%{optflags}" \
-      -DCMAKE_CXX_FLAGS="%{optflags}" \
-         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-      ..
+%cmake
 make %{?_smp_mflags}
-popd
 
 %install
-pushd build
-%makeinstall
+%cmake_install
 rm -rf %{buildroot}%{_libdir}/libblosc.a
 
 %check
-pushd build
-make test
-popd
+export LD_PRELOAD="$LD_PRELOAD  %{buildroot}%{_libdir}/libblosc.so.1"
+cd build
+ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags}
+cd ..
 
 %post -n %{libname} -p /sbin/ldconfig
-
 %postun -n %{libname} -p /sbin/ldconfig
-
 %files -n %{libname}
 %defattr(-,root,root,-)
 %doc ANNOUNCE.rst README.rst README_HEADER.rst README_THREADED.rst 
LICENSES/*.txt RELEASE_NOTES.rst


Reply via email to