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
rm -rf build && mkdir build && pushd build
export LDFLAGS="-Wl,--as-needed"
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
../
%make_build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
%cmake_build
%install
pushd build
%make_install
%cmake_install
# Remove docs and use the rpmbuild macro instead
rm -rf %{buildroot}%{_docdir}/*
%check
pushd build
make test
%ctest
%ldconfig_scriptlets

Loading…
Cancel
Save