Use %cmake_build/%cmake_install

epel9
Sandro Mani 5 years ago
parent ec7b5350ba
commit 81d1a4835b

@ -121,16 +121,12 @@ rm cmake/modules/FindZLIB.cmake
%build
%if %{?el7:1}%{!?el7:0}
%cmake3 -DPODOFO_BUILD_SHARED=1 \
%else
%cmake -DPODOFO_BUILD_SHARED=1 \
%endif
%cmake \
%if 0%{?__isa_bits} == 64
-DWANT_LIB64=1 \
%endif
.
%make_build
-DPODOFO_BUILD_SHARED=1
%cmake_build
# build the docs
doxygen
@ -140,7 +136,7 @@ find doc/html -exec touch -r %{SOURCE0} {} \;
%install
%make_install
%cmake_install
%check

Loading…
Cancel
Save