From d5c9487fe629e20f367be78218eb7d81b7c0ba80 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Sat, 9 Feb 2019 17:33:39 -0700 Subject: [PATCH] Include missing header --- libaec.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libaec.spec b/libaec.spec index b874442..2f81505 100644 --- a/libaec.spec +++ b/libaec.spec @@ -1,6 +1,6 @@ Name: libaec Version: 1.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Adaptive Entropy Coding library License: BSD Url: https://gitlab.dkrz.de/k202009/libaec @@ -8,7 +8,7 @@ Source0: https://gitlab.dkrz.de/k202009/libaec/-/archive/v%{version}/liba Source1: http://cwe.ccsds.org/sls/docs/SLS-DC/BB121B2TestData/121B2TestData.zip BuildRequires: gcc -BuildRequires: %{?fedora:cmake >= 3.1}%{?rhel:cmake3 >= 3.1} +BuildRequires: cmake3 >= 3.1 %description Libaec provides fast loss-less compression of 1 up to 32 bit wide @@ -46,6 +46,8 @@ popd %install %make_install -C build +cp -a build/config.h %{buildroot}%{_includedir}/%{name}_config.h +sed -i '/include/s/config.h/%{name}_&/' %{buildroot}%{_includedir}/szlib.h %check make -C build test CTEST_OUTPUT_ON_FAILURE=1 @@ -64,6 +66,9 @@ make -C build test CTEST_OUTPUT_ON_FAILURE=1 %{_libdir}/lib*.so %changelog +* Sat Feb 09 2019 Christoph Junghans - 1.0.3-3 +- Include missing header + * Tue Feb 05 2019 Christoph Junghans - 1.0.3-2 - Enable all tests