use %cmake_build, %cmake_install, \
cd "."; \ /usr/bin/ctest --output-on-failure --force-new-ctest-process -j2 ;\ cd -
This commit is contained in:
parent
1438934d49
commit
e9eeea4476
14
libzip.spec
14
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 <rdieter@fedoraproject.org> - 1.7.3-2
|
||||
- use %%cmake_build, %%cmake_install, %ctest
|
||||
|
||||
* Wed Jul 15 2020 Remi Collet <remi@remirepo.net> - 1.7.3-1
|
||||
- update to 1.7.3
|
||||
- drop patch merged upstream
|
||||
|
||||
Loading…
Reference in New Issue
Block a user