Update to 2.13.8 upstream release
- Update spec file to match F37/Rawhide
This commit is contained in:
parent
44a17de493
commit
33cf9c7a47
27
catch.spec
27
catch.spec
@ -1,13 +1,14 @@
|
||||
%global debug_package %{nil}
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: catch
|
||||
Version: 2.10.2
|
||||
Version: 2.13.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Modern, C++-native, header-only, framework for unit-tests, TDD and BDD
|
||||
|
||||
License: Boost
|
||||
URL: https://github.com/philsquared/Catch
|
||||
Source0: https://github.com/philsquared/Catch/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/catchorg/Catch
|
||||
Source0: https://github.com/catchorg/Catch/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake make gcc-c++ python3
|
||||
|
||||
@ -31,23 +32,23 @@ is packaged up as a single header for extra convenience.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -n Catch2-%{version}
|
||||
# No python, just python3
|
||||
sed -i -e "s|COMMAND python |COMMAND python3 |" projects/CMakeLists.txt
|
||||
|
||||
|
||||
%build
|
||||
%cmake . -Bbuild -DCATCH_ENABLE_WERROR=OFF
|
||||
%make_build -Cbuild
|
||||
%cmake \
|
||||
-DCATCH_BUILD_EXTRA_TESTS=ON \
|
||||
-DCATCH_ENABLE_WERROR=OFF \
|
||||
-DCATCH_INSTALL_DOCS=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install -Cbuild
|
||||
rm -rf %{buildroot}/%{_docdir}
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
cd build
|
||||
ctest -V %{?_smp_mflags}
|
||||
%ctest
|
||||
|
||||
|
||||
%files devel
|
||||
@ -60,6 +61,10 @@ ctest -V %{?_smp_mflags}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 06 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.13.8-1
|
||||
- Update to 2.13.8 upstream release
|
||||
- Update spec file to match F37/Rawhide
|
||||
|
||||
* Thu Oct 31 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 2.10.2-1
|
||||
- Initial build for EPL 8
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (catch-2.10.2.tar.gz) = da18fc7b11ae500efed8798634413efca5533e16d41e51872bb3f3902da8d8a06a0dcbcbb4051c0805734cc9117673ab4ddb6db0c3ca02104441daf7ac2a2b7f
|
||||
SHA512 (catch-2.13.8.tar.gz) = 68a45efa47beb3c85d2d7b8a8eba89b8ec1664b4a72bb223227fef1632778aeaf5cf5cc09f40e47aef50426c8661c7d6a69c2dab0b88fbbf7d9a6b2974d6e32e
|
||||
|
Loading…
Reference in New Issue
Block a user