Update to version 0.3.2.

This commit is contained in:
Andreas Schneider 2013-11-06 08:17:51 +01:00
parent 0aeb855b61
commit 68df79422d
3 changed files with 18 additions and 14 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/cmocka-0.2.0.tar.gz /cmocka-0.2.0.tar.gz
/cmocka-0.3.0.tar.gz /cmocka-0.3.0.tar.gz
/cmocka-0.3.1.tar.gz /cmocka-0.3.1.tar.gz
/cmocka-0.3.2.tar.xz

View File

@ -3,15 +3,15 @@ BuildRequires: doxygen
BuildRequires: glibc-devel BuildRequires: glibc-devel
Name: cmocka Name: cmocka
Version: 0.3.1 Version: 0.3.2
Release: 2%{?dist} Release: 1%{?dist}
License: ASL 2.0 License: ASL 2.0
Group: Development/Tools Group: Development/Tools
Summary: Lightweight library to simplify and generalize unit tests for C 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) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description %description
@ -81,20 +81,21 @@ Development headers for the cmocka unit testing library.
%setup -q %setup -q
%build %build
if test ! -e "build"; then if test ! -e "obj"; then
mkdir build mkdir obj
fi fi
pushd build pushd obj
%cmake \ %cmake \
-DWITH_STATIC_LIB=ON \ -DWITH_STATIC_LIB=ON \
-DUNIT_TESTING=ON \ -DUNIT_TESTING=ON \
%{_builddir}/%{name}-%{version} %{_builddir}/%{name}-%{version}
make %{?_smp_mflags} VERBOSE=1 make %{?_smp_mflags} VERBOSE=1
popd build make doc
popd
%install %install
pushd build pushd obj
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
popd popd
@ -106,26 +107,28 @@ popd
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%check %check
pushd build pushd obj
make test make test
popd popd
%files -n libcmocka %files -n libcmocka
%defattr(-,root,root)
%doc AUTHORS README ChangeLog COPYING %doc AUTHORS README ChangeLog COPYING
%{_libdir}/libcmocka.so.* %{_libdir}/libcmocka.so.*
%files -n libcmocka-static %files -n libcmocka-static
%defattr(-,root,root)
%{_libdir}/libcmocka.a %{_libdir}/libcmocka.a
%files -n libcmocka-devel %files -n libcmocka-devel
%defattr(-,root,root) %doc obj/doc/html
%{_includedir}/cmocka.h %{_includedir}/cmocka.h
%{_libdir}/libcmocka.so %{_libdir}/libcmocka.so
%{_libdir}/pkgconfig/cmocka.pc %{_libdir}/pkgconfig/cmocka.pc
%changelog %changelog
* Wed Nov 06 2013 - Andreas Schneider <asn@redhat.com> - 0.3.2-1
- Update to version 0.3.2.
- Include API documentation.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
a756319d7585a2aaa230e156a14d4fea cmocka-0.3.1.tar.gz a497564ff98ebc4241709d62aa1078af cmocka-0.3.2.tar.xz