diff --git a/podofo.spec b/podofo.spec index 9c5e331..b98317e 100644 --- a/podofo.spec +++ b/podofo.spec @@ -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