From 1fe47d4806a323342db29ae0ad8713daf2f3d604 Mon Sep 17 00:00:00 2001 From: Gary Buhrmaster Date: Mon, 5 Feb 2024 16:13:48 +0000 Subject: [PATCH] Update version to 0.11.0 ( resolves: rhbz#2262592 ) add running of unit tests --- .gitignore | 1 + libcbor.spec | 20 +++++++++++++++----- sources | 2 +- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 47be098..e66c3a0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /v0.7.0.tar.gz /v0.10.1.tar.gz /v0.10.2.tar.gz +/v0.11.0.tar.gz diff --git a/libcbor.spec b/libcbor.spec index 42045df..56b7a6b 100644 --- a/libcbor.spec +++ b/libcbor.spec @@ -1,6 +1,6 @@ Name: libcbor -Version: 0.10.2 -Release: 5%{?dist} +Version: 0.11.0 +Release: 1%{?dist} Summary: A CBOR parsing library License: MIT @@ -15,6 +15,7 @@ BuildRequires: python3-breathe BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme BuildRequires: make +BuildRequires: pkgconfig(cmocka) %description libcbor is a C library for parsing and generating CBOR. @@ -31,7 +32,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %build -%cmake -DCMAKE_BUILD_TYPE=Release +%cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON %cmake_build cd doc make man @@ -40,22 +41,31 @@ make man %install %cmake_install mkdir -p %{buildroot}%{_mandir}/man3 -cp doc/build/man/* %{buildroot}%{_mandir}/man3/ +cp doc/build/man/libcbor.3 %{buildroot}%{_mandir}/man3/ + + +%check +%ctest %files %license LICENSE.md %doc README.md -%{_libdir}/libcbor.so.0.10{,.*} +%{_libdir}/libcbor.so.0.11{,.*} %files devel %{_includedir}/cbor.h %{_includedir}/cbor %{_libdir}/libcbor.so %{_libdir}/pkgconfig/libcbor.pc +%{_libdir}/cmake/libcbor %{_mandir}/man3/libcbor.3{,.*} %changelog +* Sun Feb 04 2024 Gary Buhrmaster - 0.11.0-1 +- Update version to 0.11.0 ( resolves: rhbz#2262592 ) +- add running of unit tests + * Thu Jan 25 2024 Fedora Release Engineering - 0.10.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 06a9d7e..345a9e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v0.10.2.tar.gz) = 23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a +SHA512 (v0.11.0.tar.gz) = c14aaa55c0c82e09b9eb2cc6847951d1bac8a081a247776c507d5450367da5717b1056bad09fb0f0178311de8754e8f89c060e0fc0f400fafdc42de441421e66