Update to version 1.0.0.
This commit is contained in:
parent
5f306131aa
commit
8f4409a7e3
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/cmocka-0.3.2.tar.xz
|
/cmocka-0.3.2.tar.xz
|
||||||
/cmocka-0.4.0.tar.xz
|
/cmocka-0.4.0.tar.xz
|
||||||
/cmocka-0.4.1.tar.xz
|
/cmocka-0.4.1.tar.xz
|
||||||
|
/cmocka-1.0.0.tar.xz
|
||||||
|
28
cmocka.spec
28
cmocka.spec
@ -3,15 +3,15 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
|
||||||
Name: cmocka
|
Name: cmocka
|
||||||
Version: 0.4.1
|
Version: 1.0.0
|
||||||
Release: 3%{?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.org
|
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)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,6 +40,8 @@ This is the successor of Google's Cmockery.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Lightweight library to simplify and generalize unit tests for C
|
Summary: Lightweight library to simplify and generalize unit tests for C
|
||||||
|
|
||||||
|
Conflicts: cmockery2
|
||||||
|
|
||||||
%description -n libcmocka
|
%description -n libcmocka
|
||||||
There are a variety of C unit testing frameworks available however many of them
|
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
|
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
|
Summary: Development headers for the cmocka library
|
||||||
Requires: libcmocka = %{version}-%{release}
|
Requires: libcmocka = %{version}-%{release}
|
||||||
|
|
||||||
|
Conflicts: cmockery2-devel
|
||||||
|
|
||||||
%description -n libcmocka-devel
|
%description -n libcmocka-devel
|
||||||
Development headers for the cmocka unit testing library.
|
Development headers for the cmocka unit testing library.
|
||||||
|
|
||||||
@ -87,6 +91,7 @@ fi
|
|||||||
pushd obj
|
pushd obj
|
||||||
%cmake \
|
%cmake \
|
||||||
-DWITH_STATIC_LIB=ON \
|
-DWITH_STATIC_LIB=ON \
|
||||||
|
-DWITH_CMOCKERY_SUPPORT=ON \
|
||||||
-DUNIT_TESTING=ON \
|
-DUNIT_TESTING=ON \
|
||||||
%{_builddir}/%{name}-%{version}
|
%{_builddir}/%{name}-%{version}
|
||||||
|
|
||||||
@ -98,6 +103,7 @@ popd
|
|||||||
pushd obj
|
pushd obj
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
popd
|
popd
|
||||||
|
ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
|
||||||
|
|
||||||
%post -n libcmocka -p /sbin/ldconfig
|
%post -n libcmocka -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -121,12 +127,28 @@ popd
|
|||||||
%files -n libcmocka-devel
|
%files -n libcmocka-devel
|
||||||
%doc obj/doc/html
|
%doc obj/doc/html
|
||||||
%{_includedir}/cmocka.h
|
%{_includedir}/cmocka.h
|
||||||
|
%{_includedir}/cmocka_pbc.h
|
||||||
|
%{_includedir}/cmockery/cmockery.h
|
||||||
|
%{_includedir}/cmockery/pbc.h
|
||||||
%{_libdir}/libcmocka.so
|
%{_libdir}/libcmocka.so
|
||||||
|
%{_libdir}/libcmockery.so
|
||||||
%{_libdir}/pkgconfig/cmocka.pc
|
%{_libdir}/pkgconfig/cmocka.pc
|
||||||
%{_libdir}/cmake/cmocka/cmocka-config-version.cmake
|
%{_libdir}/cmake/cmocka/cmocka-config-version.cmake
|
||||||
%{_libdir}/cmake/cmocka/cmocka-config.cmake
|
%{_libdir}/cmake/cmocka/cmocka-config.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 16 2015 Andreas Schneider <asn@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 0.4.1-3
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user