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..8c567a1 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 @@ -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)