From 48d6c0dfeb37845ae059c420685f3be3a694ae97f1f27fdef8e23bb0589721b4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 11 Apr 2014 14:16:47 +0000 Subject: [PATCH 1/2] Update to version 0.4.0 * Added support for group testing. * Added assert_return_code(). * Added better messages for errors. * Added cmake config mode support. * Fixed bug with unit_test_setup and unit_test_teardown. * Fixed a lot of small bugs. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=11 --- cmocka-0.3.2.tar.xz | 3 --- cmocka-0.4.0.tar.xz | 3 +++ cmocka.changes | 11 +++++++++++ cmocka.spec | 14 +++++++------- 4 files changed, 21 insertions(+), 10 deletions(-) delete mode 100644 cmocka-0.3.2.tar.xz create mode 100644 cmocka-0.4.0.tar.xz diff --git a/cmocka-0.3.2.tar.xz b/cmocka-0.3.2.tar.xz deleted file mode 100644 index 240126e..0000000 --- a/cmocka-0.3.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2279adb8180fa17346f67fe623e5ec6ce3fed1c4b3b6629307c89ef8b134ec64 -size 64460 diff --git a/cmocka-0.4.0.tar.xz b/cmocka-0.4.0.tar.xz new file mode 100644 index 0000000..7bc165b --- /dev/null +++ b/cmocka-0.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9411e31ed3402c9dee13b34c328df968c88592ee521243d10145b223de6e6b42 +size 69392 diff --git a/cmocka.changes b/cmocka.changes index a852d25..651b607 100644 --- a/cmocka.changes +++ b/cmocka.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 11 14:16:07 UTC 2014 - asn@cryptomilk.org + +- Update to version 0.4.0 + * Added support for group testing. + * Added assert_return_code(). + * Added better messages for errors. + * Added cmake config mode support. + * Fixed bug with unit_test_setup and unit_test_teardown. + * Fixed a lot of small bugs. + ------------------------------------------------------------------- Mon Nov 11 13:17:27 UTC 2013 - asn@cryptomilk.org diff --git a/cmocka.spec b/cmocka.spec index b6660f6..806908d 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -1,7 +1,7 @@ # # spec file for package cmocka # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -20,7 +20,7 @@ BuildRequires: cmake BuildRequires: glibc-devel Name: cmocka -Version: 0.3.2 +Version: 0.4.0 Release: 0 # Summary: Lightweight library to simplify and generalize unit tests for C @@ -99,10 +99,10 @@ Static cmocka unit testing library. %setup -q %build -if test ! -e "build"; then - mkdir build +if test ! -e "obj"; then + mkdir obj fi -pushd build +pushd obj cmake \ -DCMAKE_C_FLAGS:STRING="%{optflags}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -115,10 +115,10 @@ cmake \ %{_builddir}/%{name}-%{version} make %{?_smp_mflags} VERBOSE=1 -popd build +popd obj %install -pushd build +pushd obj %makeinstall popd From df5555621fce2f3a2f27068cb6f2406b6c4e0afe859ab6cbfe52f339ac162048 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 11 Apr 2014 14:20:42 +0000 Subject: [PATCH 2/2] Add missing files. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=12 --- cmocka.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmocka.spec b/cmocka.spec index 806908d..8c567a1 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -141,6 +141,8 @@ popd %{_includedir}/cmocka.h %{_libdir}/libcmocka.so %{_libdir}/pkgconfig/cmocka.pc +%{_libdir}/cmake/cmocka-config-version.cmake +%{_libdir}/cmake/cmocka-config.cmake %files -n libcmocka-devel-static %defattr(-,root,root)