diff --git a/libzip.spec b/libzip.spec index bafc6f4..2cf308b 100644 --- a/libzip.spec +++ b/libzip.spec @@ -2,7 +2,7 @@ Name: libzip Version: 1.7.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C library for reading, creating, and modifying zip archives License: BSD @@ -81,19 +81,18 @@ sed -e '/clone-fs-/d' \ -DBUILD_TOOLS:BOOL=ON \ -DBUILD_REGRESS:BOOL=ON \ -DBUILD_EXAMPLES:BOOL=OFF \ - -DBUILD_DOC:BOOL=ON \ - . + -DBUILD_DOC:BOOL=ON -make %{?_smp_mflags} +%cmake_build %install -make install DESTDIR=%{buildroot} INSTALL='install -p' +%cmake_install %check %if %{with tests} -make check +%ctest %else : Test suite disabled %endif @@ -125,6 +124,9 @@ make check %changelog +* Tue Jul 21 2020 Rex Dieter - 1.7.3-2 +- use %%cmake_build, %%cmake_install, %ctest + * Wed Jul 15 2020 Remi Collet - 1.7.3-1 - update to 1.7.3 - drop patch merged upstream