Fixup cmake due to change.

epel9
Richard Shaw 4 years ago
parent acf38cd93a
commit 6d4f0916e0

@ -30,24 +30,20 @@ developing applications that use %{name}.
%build %build
rm -rf build && mkdir build && pushd build
export LDFLAGS="-Wl,--as-needed" export LDFLAGS="-Wl,--as-needed"
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
../ %cmake_build
%make_build
%install %install
pushd build %cmake_install
%make_install
# Remove docs and use the rpmbuild macro instead # Remove docs and use the rpmbuild macro instead
rm -rf %{buildroot}%{_docdir}/* rm -rf %{buildroot}%{_docdir}/*
%check %check
pushd build %ctest
make test
%ldconfig_scriptlets %ldconfig_scriptlets

Loading…
Cancel
Save