Fix out-of-source build on F33 (bug #1863317)
This commit is contained in:
parent
7da6317b0a
commit
453d5e6986
17
cereal.spec
17
cereal.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: cereal
|
Name: cereal
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A header-only C++11 serialization library
|
Summary: A header-only C++11 serialization library
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: http://uscilab.github.io/cereal/
|
Url: http://uscilab.github.io/cereal/
|
||||||
@ -14,7 +14,7 @@ Source0: https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz#/%{
|
|||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake3 >= 3.0
|
BuildRequires: cmake >= 3.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cereal is a header-only C++11 serialization library. cereal takes arbitrary
|
cereal is a header-only C++11 serialization library. cereal takes arbitrary
|
||||||
@ -40,16 +40,14 @@ This package contains development headers and libraries for the cereal library
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF
|
||||||
pushd %{_target_platform}
|
%cmake_build
|
||||||
%{cmake3} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C %{_target_platform}
|
%cmake_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make -C %{_target_platform} test
|
%ctest
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -59,6 +57,9 @@ make -C %{_target_platform} test
|
|||||||
%{_datadir}/cmake/%{name}
|
%{_datadir}/cmake/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 1.3.0-5
|
||||||
|
- Fix out-of-source build on F33 (bug #1863317)
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
||||||
- Second attempt - Rebuilt for
|
- Second attempt - Rebuilt for
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user