From 68df79422d2ab794b85d2391c77ac33800fdc89b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 6 Nov 2013 08:17:51 +0100 Subject: [PATCH] Update to version 0.3.2. --- .gitignore | 1 + cmocka.spec | 29 ++++++++++++++++------------- sources | 2 +- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 1774171..1770f7c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cmocka-0.2.0.tar.gz /cmocka-0.3.0.tar.gz /cmocka-0.3.1.tar.gz +/cmocka-0.3.2.tar.xz diff --git a/cmocka.spec b/cmocka.spec index 153e931..247a4d5 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -3,15 +3,15 @@ BuildRequires: doxygen BuildRequires: glibc-devel Name: cmocka -Version: 0.3.1 -Release: 2%{?dist} +Version: 0.3.2 +Release: 1%{?dist} License: ASL 2.0 Group: Development/Tools Summary: Lightweight library to simplify and generalize unit tests for C -Url: http://cmocka.cryptomilk.org/ +Url: http://cmocka.org -Source0: https://open.cryptomilk.org/attachments/download/7/%{name}-%{version}.tar.gz +Source0: https://open.cryptomilk.org/attachments/download/32/%{name}-%{version}.tar.xz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description @@ -81,20 +81,21 @@ Development headers for the 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 \ -DWITH_STATIC_LIB=ON \ -DUNIT_TESTING=ON \ %{_builddir}/%{name}-%{version} make %{?_smp_mflags} VERBOSE=1 -popd build +make doc +popd %install -pushd build +pushd obj make DESTDIR=%{buildroot} install popd @@ -106,26 +107,28 @@ popd %{__rm} -rf %{buildroot} %check -pushd build +pushd obj make test popd %files -n libcmocka -%defattr(-,root,root) %doc AUTHORS README ChangeLog COPYING %{_libdir}/libcmocka.so.* %files -n libcmocka-static -%defattr(-,root,root) %{_libdir}/libcmocka.a %files -n libcmocka-devel -%defattr(-,root,root) +%doc obj/doc/html %{_includedir}/cmocka.h %{_libdir}/libcmocka.so %{_libdir}/pkgconfig/cmocka.pc %changelog +* Wed Nov 06 2013 - Andreas Schneider - 0.3.2-1 +- Update to version 0.3.2. +- Include API documentation. + * Sat Aug 03 2013 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 1af15e7..87eed0f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a756319d7585a2aaa230e156a14d4fea cmocka-0.3.1.tar.gz +a497564ff98ebc4241709d62aa1078af cmocka-0.3.2.tar.xz