Update to version 1.1.7

This commit is contained in:
Andreas Schneider 2023-02-28 14:30:42 +01:00
parent 0a1e6314e5
commit 2892fd7fa0
3 changed files with 22 additions and 16 deletions

2
.gitignore vendored
View File

@ -14,3 +14,5 @@
/cmocka-1.1.3.tar.xz.asc
/cmocka-1.1.5.tar.xz
/cmocka-1.1.5.tar.xz.asc
/cmocka-1.1.7.tar.xz
/cmocka-1.1.7.tar.xz.asc

View File

@ -1,8 +1,8 @@
Name: cmocka
Version: 1.1.5
Release: 13%{?dist}
Version: 1.1.7
Release: 1%{?dist}
License: ASL 2.0
License: Apache-2.0
Summary: An elegant unit testing framework for C with support for mock objects
URL: https://cmocka.org
@ -16,6 +16,8 @@ BuildRequires: doxygen
BuildRequires: glibc-devel
BuildRequires: gnupg2
Obsoletes: libcmocka-static < %{version}
%description
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
@ -65,12 +67,6 @@ preferable.
This is the successor of Google's Cmockery.
%package -n libcmocka-static
Summary: Lightweight library to simplify and generalize unit tests for C
%description -n libcmocka-static
Static version of the cmocka library.
%package -n libcmocka-devel
Summary: Development headers for the cmocka library
Requires: libcmocka = %{version}-%{release}
@ -119,9 +115,6 @@ ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
%license COPYING
%{_libdir}/libcmocka.so.*
%files -n libcmocka-static
%{_libdir}/libcmocka-static.a
%files -n libcmocka-devel
%{_includedir}/cmocka.h
%{_includedir}/cmocka_pbc.h
@ -130,13 +123,24 @@ ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
%{_libdir}/libcmocka.so
%{_libdir}/libcmockery.so
%{_libdir}/pkgconfig/cmocka.pc
%{_libdir}/cmake/cmocka/cmocka-config-version.cmake
%{_libdir}/cmake/cmocka/cmocka-config.cmake
%{_libdir}/cmake/cmocka/cmocka-config*.cmake
%files -n cmocka-doc
%doc %{__cmake_builddir}/doc/html
%changelog
* Tue Feb 28 2023 Andreas Schneider <asn@redhat.com> - 1.1.7-1
- Update to version 1.1.7
* Update ignore list for source tarball generation
* Added new assert macros to compare 2 double given an epsilon
* Added meson build system
* Added header with version to TAP13 output
* Fixed issues with MSVC
* Fixed TAP output for skipped tests
* Fixed issue with fail_msg
* CMake generated configs for find_package(cmocka)
* Documentation improvements
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (cmocka-1.1.5.tar.xz) = cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd
SHA512 (cmocka-1.1.5.tar.xz.asc) = 2723fbdd872ede0fc1a0ffae13967000485daafeca92700e37954ae5fdca9f9aa67b9c7c90ae2c53643f1b394d67bdc9926902af68e4eac2203b6bba4ecc07c4
SHA512 (cmocka-1.1.7.tar.xz) = fe451893474dce1270e12af707a9a8fe1f0217e1782b4e1a67d25dadf56ff4a5e7dbc9ba4431f774aedffa46a40a28a6a0488df24feefb2f93e90fd2369c2c88
SHA512 (cmocka-1.1.7.tar.xz.asc) = 4912bead4853f4b3f4a868c724ba7b6e0299d8173b66b8f047546cd564a8fe919e8f749ac330148d443fc465e32a27dbb765db432e023b743a458e13c2dbf133