diff --git a/codec2.spec b/codec2.spec index 0eb87a4..64b7aeb 100644 --- a/codec2.spec +++ b/codec2.spec @@ -48,18 +48,14 @@ Example code for Codec 2 %build -mkdir build_linux && pushd build_linux %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DLPCNET=ON \ - ../ + -DLPCNET=ON -make %{?_smp_mflags} +%cmake_build %install -pushd build_linux -%make_install -popd +%cmake_install # Create and install pkgconfig file mkdir -p %{buildroot}%{_libdir}/pkgconfig