Fix out-of-source build on F33 (bug #1863972)

This commit is contained in:
Christoph Junghans 2020-08-03 18:14:25 -06:00
parent 6f147f364b
commit b5912c68d4

View File

@ -1,13 +1,13 @@
Name: libaec Name: libaec
Version: 1.0.4 Version: 1.0.4
Release: 5%{?dist} Release: 6%{?dist}
Summary: Adaptive Entropy Coding library Summary: Adaptive Entropy Coding library
License: BSD License: BSD
Url: https://gitlab.dkrz.de/k202009/libaec Url: https://gitlab.dkrz.de/k202009/libaec
Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/libaec-v%{version}.tar.gz Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/libaec-v%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: cmake3 >= 3.1 BuildRequires: cmake >= 3.1
%description %description
Libaec provides fast loss-less compression of 1 up to 32 bit wide Libaec provides fast loss-less compression of 1 up to 32 bit wide
@ -35,17 +35,14 @@ Devel files for libaec (Adaptive Entropy Coding library).
%setup -q -n %{name}-v%{version} %setup -q -n %{name}-v%{version}
%build %build
mkdir build %{cmake}
pushd build %cmake_build
%{cmake3} ..
%make_build
popd
%install %install
%make_install -C build %cmake_install
%check %check
make -C build test CTEST_OUTPUT_ON_FAILURE=1 %ctest
%ldconfig_scriptlets %ldconfig_scriptlets
@ -61,6 +58,9 @@ make -C build test CTEST_OUTPUT_ON_FAILURE=1
%{_libdir}/lib*.so %{_libdir}/lib*.so
%changelog %changelog
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 1.0.4-6
- Fix out-of-source build on F33 (bug #1863972)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild