## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %undefine __cmake3_in_source_build %global debug_package %{nil} Name: doctest Version: 2.4.8 Release: %autorelease Summary: Feature-rich header-only C++ testing framework License: MIT URL: https://github.com/doctest/%{name} Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake3 BuildRequires: git %description A fast (both in compile times and runtime) C++ testing framework, with the ability to write tests directly along production source (or in their own source, if you prefer). %package devel Summary: Development files for %{name} Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: libstdc++-devel%{?_isa} %description devel %{summary}. %prep %autosetup -p1 %build %cmake3 \ -DCMAKE_BUILD_TYPE=Release \ -DDOCTEST_WITH_MAIN_IN_STATIC_LIB:BOOL=OFF \ -DDOCTEST_WITH_TESTS:BOOL=ON \ %{nil} %cmake3_build %check %ctest3 %install %cmake3_install %files devel %doc README.md CHANGELOG.md CONTRIBUTING.md %license LICENSE.txt %{_includedir}/%{name}/ %{_libdir}/cmake/%{name}/ %changelog ## START: Generated by rpmautospec * Thu Jan 13 2022 Nick Black - 2.4.8-4 - new upstream, merge * Thu Jan 13 2022 Nick Black - 2.4.8-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec