|
|
7e62f8 |
%global debug_package %{nil}
|
|
|
7e62f8 |
|
|
|
7e62f8 |
Name: catch
|
|
|
7e62f8 |
Version: 2.2.1
|
|
|
7e62f8 |
Release: 2%{?dist}
|
|
|
7e62f8 |
Summary: A modern, C++-native, header-only, framework for unit-tests, TDD and BDD
|
|
|
7e62f8 |
|
|
|
7e62f8 |
License: Boost
|
|
|
7e62f8 |
URL: https://github.com/philsquared/Catch
|
|
|
7e62f8 |
Source0: https://github.com/philsquared/Catch/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
7e62f8 |
|
|
|
7e62f8 |
BuildRequires: cmake make gcc-c++ /usr/bin/python3
|
|
|
7e62f8 |
|
|
|
7e62f8 |
Requires: cmake-filesystem
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%description
|
|
|
7e62f8 |
Catch stands for C++ Automated Test Cases in Headers and is a
|
|
|
7e62f8 |
multi-paradigm automated test framework for C++ and Objective-C (and,
|
|
|
7e62f8 |
maybe, C). It is implemented entirely in a set of header files, but
|
|
|
7e62f8 |
is packaged up as a single header for extra convenience.
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%package devel
|
|
|
7e62f8 |
Summary: Development files for %{name}
|
|
|
7e62f8 |
Provides: %{name}-static = %{version}-%{release}
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%description devel
|
|
|
7e62f8 |
Catch stands for C++ Automated Test Cases in Headers and is a
|
|
|
7e62f8 |
multi-paradigm automated test framework for C++ and Objective-C (and,
|
|
|
7e62f8 |
maybe, C). It is implemented entirely in a set of header files, but
|
|
|
7e62f8 |
is packaged up as a single header for extra convenience.
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%prep
|
|
|
7e62f8 |
%autosetup -p 1 -n Catch2-%{version}
|
|
|
7e62f8 |
# No python, just python3
|
|
|
7e62f8 |
sed -i -e "s|COMMAND python |COMMAND python3 |" CMakeLists.txt
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%build
|
|
|
7e62f8 |
%cmake . -Bbuild -DCATCH_ENABLE_WERROR=OFF
|
|
|
7e62f8 |
%make_build -Cbuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%install
|
|
|
7e62f8 |
%make_install -Cbuild
|
|
|
7e62f8 |
rm -rf %{buildroot}/%{_docdir}
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%check
|
|
|
7e62f8 |
cd build
|
|
|
7e62f8 |
ctest -V %{?_smp_mflags}
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%files devel
|
|
|
7e62f8 |
%doc README.md CODE_OF_CONDUCT.md docs
|
|
|
7e62f8 |
%license LICENSE.txt
|
|
|
7e62f8 |
%{_includedir}/catch/
|
|
|
7e62f8 |
%{_datadir}/pkgconfig/catch.pc
|
|
|
7e62f8 |
%{_libdir}/cmake/Catch2/
|
|
|
7e62f8 |
|
|
|
7e62f8 |
|
|
|
7e62f8 |
%changelog
|
|
|
7e62f8 |
* Mon Aug 13 2018 Daniel Kopeček <dkopecek@redhat.com> - 2.2.1-2
|
|
|
7e62f8 |
Resolves: #1615346 - catch fails to build because of missing /usr/bin/python3 during build
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Mar 11 2018 Tom Hughes <tom@compton.nu> - 2.2.1-1
|
|
|
7e62f8 |
- Update to 2.2.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Mar 7 2018 Tom Hughes <tom@compton.nu> - 2.2.0-1
|
|
|
7e62f8 |
- Update to 2.2.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sat Feb 10 2018 Tom Hughes <tom@compton.nu> - 2.1.2-1
|
|
|
7e62f8 |
- Update to 2.1.2 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
7e62f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sat Jan 27 2018 Tom Hughes <tom@compton.nu> - 2.1.1-1
|
|
|
7e62f8 |
- Update to 2.1.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Jan 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.0-1
|
|
|
7e62f8 |
- Update to 2.1.0
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Jan 14 2018 Tom Hughes <tom@compton.nu> - 1.12.0-1
|
|
|
7e62f8 |
- Update to 1.12.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Nov 1 2017 Tom Hughes <tom@compton.nu> - 1.11.0-1
|
|
|
7e62f8 |
- Update to 1.11.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Aug 27 2017 Tom Hughes <tom@compton.nu> - 1.10.0-1
|
|
|
7e62f8 |
- Update to 1.10.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Aug 11 2017 Tom Hughes <tom@compton.nu> - 1.9.7-1
|
|
|
7e62f8 |
- Update to 1.9.7 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-3
|
|
|
7e62f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-2
|
|
|
7e62f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Tue Jun 27 2017 Tom Hughes <tom@compton.nu> - 1.9.6-1
|
|
|
7e62f8 |
- Update to 1.9.6 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Jun 16 2017 Tom Hughes <tom@compton.nu> - 1.9.5-1
|
|
|
7e62f8 |
- Update to 1.9.5 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Tue May 16 2017 Tom Hughes <tom@compton.nu> - 1.9.4-1
|
|
|
7e62f8 |
- Update to 1.9.4 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Apr 26 2017 Tom Hughes <tom@compton.nu> - 1.9.3-1
|
|
|
7e62f8 |
- Update to 1.9.3 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Tue Apr 25 2017 Tom Hughes <tom@compton.nu> - 1.9.2-1
|
|
|
7e62f8 |
- Update to 1.9.2 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Mon Apr 10 2017 Tom Hughes <tom@compton.nu> - 1.9.1-1
|
|
|
7e62f8 |
- Update to 1.9.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sat Apr 8 2017 Tom Hughes <tom@compton.nu> - 1.9.0-1
|
|
|
7e62f8 |
- Update to 1.9.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Mar 15 2017 Tom Hughes <tom@compton.nu> - 1.8.2-1
|
|
|
7e62f8 |
- Update to 1.8.2 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sat Mar 4 2017 Tom Hughes <tom@compton.nu> - 1.8.1-1
|
|
|
7e62f8 |
- Update to 1.8.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Mar 1 2017 Tom Hughes <tom@compton.nu> - 1.8.0-1
|
|
|
7e62f8 |
- Update to 1.8.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Feb 10 2017 Tom Hughes <tom@compton.nu> - 1.7.1-1
|
|
|
7e62f8 |
- Update to 1.7.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
|
|
7e62f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Feb 3 2017 Tom Hughes <tom@compton.nu> - 1.7.0-1
|
|
|
7e62f8 |
- Update to 1.7.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Jan 29 2017 Tom Hughes <tom@compton.nu> - 1.6.1-1
|
|
|
7e62f8 |
- Update to 1.6.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Jan 15 2017 Tom Hughes <tom@compton.nu> - 1.6.0-1
|
|
|
7e62f8 |
- Update to 1.6.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Tue Dec 13 2016 Tom Hughes <tom@compton.nu> - 1.5.9-1
|
|
|
7e62f8 |
- Update to 1.5.9 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Thu Nov 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.5.8-1
|
|
|
7e62f8 |
- Update to 1.5.8
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sat May 14 2016 Tom Hughes <tom@compton.nu> - 1.5.4-1
|
|
|
7e62f8 |
- Update to 1.5.4 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Thu Apr 28 2016 Tom Hughes <tom@compton.nu> - 1.5.1-1
|
|
|
7e62f8 |
- Update to 1.5.1 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Sun Apr 24 2016 Tom Hughes <tom@compton.nu> - 1.5.0-1
|
|
|
7e62f8 |
- Update to 1.5.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Mar 30 2016 Tom Hughes <tom@compton.nu> - 1.4.0-1
|
|
|
7e62f8 |
- Update to 1.4.0 upstream release
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
7e62f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7e62f8 |
|
|
|
7e62f8 |
* Fri Sep 18 2015 Tom Hughes <tom@compton.nu> - 1.2.1-1
|
|
|
7e62f8 |
- Initial build
|