From 8f4409a7e3f7f2638b8cdb4227c141fcac0d55fd Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 16 Feb 2015 15:21:17 +0100 Subject: [PATCH] Update to version 1.0.0. --- .gitignore | 1 + cmocka.spec | 28 +++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a185452..8ba1049 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cmocka-0.3.2.tar.xz /cmocka-0.4.0.tar.xz /cmocka-0.4.1.tar.xz +/cmocka-1.0.0.tar.xz diff --git a/cmocka.spec b/cmocka.spec index 2c884fa..7c09fb0 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -3,15 +3,15 @@ BuildRequires: doxygen BuildRequires: glibc-devel Name: cmocka -Version: 0.4.1 -Release: 3%{?dist} +Version: 1.0.0 +Release: 1%{?dist} License: ASL 2.0 Group: Development/Tools Summary: Lightweight library to simplify and generalize unit tests for C Url: http://cmocka.org -Source0: https://open.cryptomilk.org/attachments/download/32/%{name}-%{version}.tar.xz +Source0: https://open.cryptomilk.org/attachments/download/54/%{name}-%{version}.tar.xz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description @@ -40,6 +40,8 @@ This is the successor of Google's Cmockery. Group: Development/Libraries Summary: Lightweight library to simplify and generalize unit tests for C +Conflicts: cmockery2 + %description -n libcmocka There are a variety of C unit testing frameworks available however many of them are fairly complex and require the latest compiler technology. Some development @@ -74,6 +76,8 @@ Group: Development/Libraries Summary: Development headers for the cmocka library Requires: libcmocka = %{version}-%{release} +Conflicts: cmockery2-devel + %description -n libcmocka-devel Development headers for the cmocka unit testing library. @@ -87,6 +91,7 @@ fi pushd obj %cmake \ -DWITH_STATIC_LIB=ON \ + -DWITH_CMOCKERY_SUPPORT=ON \ -DUNIT_TESTING=ON \ %{_builddir}/%{name}-%{version} @@ -98,6 +103,7 @@ popd pushd obj make DESTDIR=%{buildroot} install popd +ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so %post -n libcmocka -p /sbin/ldconfig @@ -121,12 +127,28 @@ popd %files -n libcmocka-devel %doc obj/doc/html %{_includedir}/cmocka.h +%{_includedir}/cmocka_pbc.h +%{_includedir}/cmockery/cmockery.h +%{_includedir}/cmockery/pbc.h %{_libdir}/libcmocka.so +%{_libdir}/libcmockery.so %{_libdir}/pkgconfig/cmocka.pc %{_libdir}/cmake/cmocka/cmocka-config-version.cmake %{_libdir}/cmake/cmocka/cmocka-config.cmake %changelog +* Mon Feb 16 2015 Andreas Schneider - 1.0.0-1 +- Update to version 1.0.0: + * Added new test runner with group fixtures. The old runner is deprecated + * Added an extensible message output formatter + * Added jUnit XML message output + * Added subunit message output + * Added Test Anything Protocol message output + * Added skip() command + * Added test_realloc() + * Added a cmockery compat header + * Fixed a lot of bugs on Windows + * Sat Aug 16 2014 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index bc14cdd..deb35a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fca91aa67a5393b123f1ed476031ed48 cmocka-0.4.1.tar.xz +3e68580d9c97601dd983cf098931f987 cmocka-1.0.0.tar.xz