Hello community, here is the log from the commit of package blitz for openSUSE:Factory checked in at 2013-02-26 15:13:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blitz (Old) and /work/SRC/openSUSE:Factory/.blitz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "blitz", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/blitz/blitz.changes 2012-07-22 21:58:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.blitz.new/blitz.changes 2013-02-26 15:13:45.000000000 +0100 @@ -1,0 +2,16 @@ +Fri Feb 22 13:29:42 UTC 2013 - cfarrell@suse.com + +- license update: LGPL-3.0 or BSD-3-Clause or Artistic-2.0 + The Artistic-2.0 license is also a choice + +------------------------------------------------------------------- +Thu Feb 21 06:48:50 UTC 2013 - dmitry_r@opensuse.org + +- Update to version 0.10 + * improved performance + * 64-bit compatibility + * thread safety + * utilizing careful data alignment +- Update license to LGPL-3.0 or BSD-3-Clause according to LEGAL file + +------------------------------------------------------------------- Old: ---- blitz-0.9.tar.bz2 blitz-gcc-4.3.patch New: ---- blitz-0.10.tar.gz blitz-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blitz.spec ++++++ --- /var/tmp/diff_new_pack.83BZ6R/_old 2013-02-26 15:14:01.000000000 +0100 +++ /var/tmp/diff_new_pack.83BZ6R/_new 2013-02-26 15:14:01.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package blitz # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,19 @@ Name: blitz -Version: 0.9 +Version: 0.10 Release: 0 Summary: C++ template class library providing array objects for scientific computing -License: GPL-2.0 +License: LGPL-3.0 or BSD-3-Clause or Artistic-2.0 Group: Development/Libraries/C and C++ Url: http://www.oonumerics.org/blitz/ -Source: %{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM blitz-gcc-4.3.patch badshah400@gmail.com --Fix compilation with gcc>=4.3 -# (patch taken from fedora) -Patch0: blitz-gcc-4.3.patch +Source: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM blitz-gcc47.patch dmitry_r@opensuse.org -- Fix compilation with gcc >= 4.7 +Patch0: blitz-gcc47.patch +BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: gcc-fortran +BuildRequires: graphviz BuildRequires: pkgconfig BuildRequires: texlive-latex %if %suse_version > 1220 @@ -35,8 +37,6 @@ BuildRequires: texlive-dvips %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires(post): /sbin/install-info -Requires(preun):/sbin/install-info %description Blitz++ is a C++ class library for scientific computing which provides @@ -56,7 +56,6 @@ This package provides shared libraries with blitz. - %package devel Summary: Libraries, includes, etc. used to develop an application with %{name} Group: Development/Libraries/C and C++ @@ -74,7 +73,7 @@ %package doc Summary: The Blitz html docs -Group: Documentation/HTML +Group: Documentation/Other BuildArch: noarch %description doc @@ -83,55 +82,67 @@ high performance. Blitz++ provides dense arrays and vectors, random number generators, and small vectors. -This package provides HTML documentation files for the Blitz Library. +This package provides documentation files for the Blitz Library. %prep %setup -q %patch0 -p1 %build -%configure --enable-shared --disable-static --disable-fortran \ - --disable-dependency-tracking --disable-cxx-flags-preset -# not parallel safe -make -j1 +%configure \ + --enable-shared \ + --disable-static \ + --enable-fortran \ + --enable-64bit \ + --disable-cxx-flags-preset \ + --disable-fortran-flags-preset + +make %{?_smp_mflags} +make info +make html +make pdf %install make DESTDIR=%{buildroot} install +make DESTDIR=%{buildroot} install-info + +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print #Remove empty dirs and example files from the documnetation rm -rf doc/doxygen/html/installdox rm -rf examples/.deps rm -rf examples/Makefile* +%check +make %{?_smp_mflags} check-testsuite + %post -n libblitz0 -p /sbin/ldconfig %postun -n libblitz0 -p /sbin/ldconfig %post devel -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%preun devel -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi +%postun devel +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files -n libblitz0 %defattr(-,root,root) -%doc AUTHORS LEGAL COPYING README LICENSE %{_libdir}/*so.* %files devel %defattr(-,root,root) %doc examples %{_libdir}/*.so -%{_libdir}/pkgconfig/* -%{_includedir}/* -%{_infodir}/* -%exclude %{_libdir}/*.la +%{_libdir}/pkgconfig/blitz.pc +%{_includedir}/blitz/ +%{_includedir}/random/ +%{_infodir}/blitz.info.gz %exclude %{_infodir}/dir -%exclude %{_libdir}/pkgconfig/blitz-uninstalled.pc %files doc %defattr(-,root,root,-) -%doc %{_datadir}/doc/%{name}-%{version} +%doc AUTHORS LEGAL COPYING COPYRIGHT README LICENSE NEWS +%doc doc/blitz.pdf +%doc doc/blitz.html %changelog ++++++ blitz-gcc-4.3.patch -> blitz-gcc47.patch ++++++ --- /work/SRC/openSUSE:Factory/blitz/blitz-gcc-4.3.patch 2011-09-23 01:52:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.blitz.new/blitz-gcc47.patch 2013-02-26 15:13:45.000000000 +0100 @@ -1,15 +1,33 @@ -diff -ur blitz-0.9/blitz/blitz.h blitz-0.9.gcc43/blitz/blitz.h ---- blitz-0.9/blitz/blitz.h 2005-05-19 01:35:55.000000000 +0200 -+++ blitz-0.9.gcc43/blitz/blitz.h 2009-01-20 09:54:00.000000000 +0100 -@@ -61,8 +61,10 @@ +diff -ur blitz-0.10/blitz/bzdebug.h blitz-0.10.new/blitz/bzdebug.h +--- blitz-0.10/blitz/bzdebug.h 2012-05-11 22:11:13.000000000 +0200 ++++ blitz-0.10.new/blitz/bzdebug.h 2012-06-28 15:42:38.060656045 +0200 +@@ -117,15 +117,15 @@ + } + } - #ifdef BZ_MATH_FN_IN_NAMESPACE_STD - #include <cmath> -+ #include <cstdlib> - #else - #include <math.h> -+ #include <stdlib.h> - #endif +- #define BZASSERT(X) checkAssert(X, __FILE__, __LINE__) +- #define BZPRECONDITION(X) checkAssert(X, __FILE__, __LINE__) +- #define BZPOSTCONDITION(X) checkAssert(X, __FILE__, __LINE__) +- #define BZSTATECHECK(X,Y) checkAssert(X == Y, __FILE__, __LINE__) ++ #define BZASSERT(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZPRECONDITION(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZPOSTCONDITION(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZSTATECHECK(X,Y) blitz::checkAssert(X == Y, __FILE__, __LINE__) + #define BZPRECHECK(X,Y) \ + { \ + if ((assertFailMode == false) && (!(X))) \ + BZ_STD_SCOPE(cerr) << Y << BZ_STD_SCOPE(endl); \ +- checkAssert(X, __FILE__, __LINE__); \ ++ blitz::checkAssert(X, __FILE__, __LINE__); \ + } - #ifdef BZ_HAVE_COMPLEX - + #define BZ_DEBUG_MESSAGE(X) \ +@@ -138,7 +138,7 @@ + } + + #define BZ_DEBUG_PARAM(X) X +- #define BZ_PRE_FAIL checkAssert(0) ++ #define BZ_PRE_FAIL blitz::checkAssert(0) + #define BZ_ASM_DEBUG_MARKER + + #elif defined(BZ_DEBUG) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de