diff --git a/cryptominisat.spec b/cryptominisat.spec index 86c2a99..a97a8c6 100644 --- a/cryptominisat.spec +++ b/cryptominisat.spec @@ -67,11 +67,11 @@ fi sed -ri 's|install |&--root %{buildroot} |' python/CMakeLists.txt %build -%cmake . -DCMAKE_INSTALL_LIBDIR=%{_lib} -%make_build +%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} +%cmake_build %install -%make_install +%cmake_install # Move cmake files to where they should go if [ "%{_lib}" = "lib64" ]; then