Name: cgreen Version: 1.3.0 Release: 1%{?dist} Summary: Modern unit test and mocking framework for C and C++ License: ISC URL: https://github.com/cgreen-devs/%{name} Source0: https://github.com/cgreen-devs/%{name}/archive/%{version}/%{name}-%{version}.tar.gz # https://github.com/cgreen-devs/cgreen/issues/239 Patch0: 0001-Bump-number-of-messages-in-test-for-message-blocking.patch # https://github.com/cgreen-devs/cgreen/issues/226 # https://github.com/cgreen-devs/cgreen/issues/227 Patch1: 0002-fix-unittest-issue-on-arch-s390x.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: perl-interpreter BuildRequires: asciidoctor %description A modern, portable, cross-language unit testing and mocking framework for C and C++. %package devel Summary: Libraries and headers for developing programs with Cgreen Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Libraries and headers for developing programs with Cgreen. %package runner Summary: A runner for the Cgreen unit testing and mocking framework Requires: %{name}%{?_isa} = %{version}-%{release} %description runner A runner for the Cgreen unit testing and mocking framework. %prep %autosetup -p1 %build %cmake -DCGREEN_WITH_HTML_DOCS=ON . %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_libdir}/libcgreen.so.1* %files devel %doc doc/cgreen-guide-en-docinfo.html %{_libdir}/libcgreen.so %{_includedir}/cgreen %{_libdir}/cmake/cgreen %files runner %{_bindir}/cgreen-debug %{_bindir}/cgreen-runner %{_mandir}/man1/cgreen-runner.1* %{_mandir}/man1/cgreen-debug.1* %{_mandir}/man5/cgreen.5* %changelog * Sun Nov 15 2020 Egor Artemov egor.Artemov@gmail.com - 1.3.0-1 - Upstream fixed bugs that do not allow to run tests on s390x and pple64 architectures. Backporting patches from master and enabling tests on s390x and pple64. * Fri Jul 17 2020 Egor Artemov - 1.3.0-1 - Bump to 1.3.0 version * Thu May 7 2020 Egor Artemov - 1.2.0-1 - Build of 1.2.0 release