From 664c92d9c114e058f4d91acacbae35cea373c63c74ea1b4ca11efd8fe341dbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 16 Apr 2017 19:17:38 +0000 Subject: [PATCH] - Version update to 1.14.0: * TestCaller supports any callable that can be put into std::function. * CPPUNIT_TEST_PARAMETERIZED executes a test for any value in an iteratable. * Added new Assertion macros: ASSERT_LESS, ASSERT_GREATER, ASSERT_LESSEQUAL, ASSERT_GREATEREQUAL * Remove QT test runner OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cppunit?expand=0&rev=9 --- baselibs.conf | 6 +++--- cppunit-1.13.2.tar.gz | 3 --- cppunit-1.14.0.tar.gz | 3 +++ cppunit.changes | 12 ++++++++++++ cppunit.spec | 31 +++++++++++++++---------------- 5 files changed, 33 insertions(+), 22 deletions(-) delete mode 100644 cppunit-1.13.2.tar.gz create mode 100644 cppunit-1.14.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index d4bb25b..5d05f10 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libcppunit-1_13-0 -libcppunit-devel +libcppunit-1_14-0 +cppunit-devel requires -libcppunit- - requires "libcppunit-1_13-0- = " + requires "libcppunit-1_14-0- = " diff --git a/cppunit-1.13.2.tar.gz b/cppunit-1.13.2.tar.gz deleted file mode 100644 index 50a5bbd..0000000 --- a/cppunit-1.13.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f -size 953596 diff --git a/cppunit-1.14.0.tar.gz b/cppunit-1.14.0.tar.gz new file mode 100644 index 0000000..29de5d4 --- /dev/null +++ b/cppunit-1.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780 +size 959716 diff --git a/cppunit.changes b/cppunit.changes index a6e8acf..ab362c8 100644 --- a/cppunit.changes +++ b/cppunit.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Apr 16 19:15:54 UTC 2017 - tchvatal@suse.com + +- Version update to 1.14.0: + * TestCaller supports any callable that can be put into + std::function. + * CPPUNIT_TEST_PARAMETERIZED executes a test for any value in + an iteratable. + * Added new Assertion macros: ASSERT_LESS, ASSERT_GREATER, + ASSERT_LESSEQUAL, ASSERT_GREATEREQUAL + * Remove QT test runner + ------------------------------------------------------------------- Thu Nov 14 09:51:33 UTC 2013 - tchvatal@suse.com diff --git a/cppunit.spec b/cppunit.spec index 47310c5..715fc67 100644 --- a/cppunit.spec +++ b/cppunit.spec @@ -1,7 +1,7 @@ # # spec file for package cppunit # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,18 +16,19 @@ # -%define libname libcppunit-1_13-0 +%define libname libcppunit-1_14-0 Name: cppunit -Version: 1.13.2 +Version: 1.14.0 Release: 0 Summary: C++ Port of the JUnit Testing Framework License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.freedesktop.org/wiki/Software/cppunit -Source: http://dev-www.libreoffice.org/src/%name-%version.tar.gz +Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz Source1: cppunit-devel.desktop BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: graphviz BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: update-desktop-files @@ -62,9 +63,7 @@ to develop applications that require these. Summary: Documentation for the cppunit API Group: Documentation/HTML Conflicts: libcppunit-devel < 1.13.2 -%if 0%{?suse_version} > 1200 BuildArch: noarch -%endif %description devel-doc This package contains documentation for the cppunit API. @@ -75,14 +74,16 @@ This package contains documentation for the cppunit API. %build export CXXFLAGS="%{optflags}" %configure \ - --disable-static \ - --enable-doxygen -make %{?_smp_mflags} V=1 + --docdir=%{_docdir}/%{name} \ + --disable-silent-rules \ + --disable-static \ + --enable-doxygen +make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +%make_install # remove la archive -rm %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print # this got also installed to _defaultdocdir rm -rf %{buildroot}%{_datadir}/cppunit/html/ find %{buildroot}%{_includedir} -type f | xargs chmod a-x @@ -92,10 +93,9 @@ install %{SOURCE1} %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/ %suse_update_desktop_file %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/cppunit-devel.desktop %check -make check %{?_smp_mflags} V=1 +make check %{?_smp_mflags} %post -n %{libname} -p /sbin/ldconfig - %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} @@ -107,13 +107,12 @@ make check %{?_smp_mflags} V=1 %files devel %defattr(-,root,root) %doc NEWS README THANKS ChangeLog +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/* %{_bindir}/DllPlugInTester -%{_bindir}/cppunit-config %{_libdir}/libcppunit*.so %{_libdir}/pkgconfig/cppunit.pc %{_includedir}/* -%{_mandir}/*/* -%{_datadir}/aclocal/cppunit.m4 %files devel-doc %defattr(-,root,root)