From b5912c68d41f9b6f09a75002409529f4d56436d3 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 3 Aug 2020 18:14:25 -0600 Subject: [PATCH] Fix out-of-source build on F33 (bug #1863972) --- libaec.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libaec.spec b/libaec.spec index 2a35e7a..c978adf 100644 --- a/libaec.spec +++ b/libaec.spec @@ -1,13 +1,13 @@ Name: libaec Version: 1.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Adaptive Entropy Coding library License: BSD Url: https://gitlab.dkrz.de/k202009/libaec Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/libaec-v%{version}.tar.gz BuildRequires: gcc -BuildRequires: cmake3 >= 3.1 +BuildRequires: cmake >= 3.1 %description 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} %build -mkdir build -pushd build -%{cmake3} .. -%make_build -popd +%{cmake} +%cmake_build %install -%make_install -C build +%cmake_install %check -make -C build test CTEST_OUTPUT_ON_FAILURE=1 +%ctest %ldconfig_scriptlets @@ -61,6 +58,9 @@ make -C build test CTEST_OUTPUT_ON_FAILURE=1 %{_libdir}/lib*.so %changelog +* Mon Aug 03 2020 Christoph Junghans - 1.0.4-6 +- Fix out-of-source build on F33 (bug #1863972) + * Sat Aug 01 2020 Fedora Release Engineering - 1.0.4-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild