Adopt %cmake_* macros

This commit is contained in:
Lukas Zapletal 2020-08-12 11:31:11 +02:00
parent b87c8413aa
commit bab06467e6
1 changed files with 3 additions and 5 deletions

View File

@ -26,18 +26,16 @@ developing applications that use %{name}.
%build
%cmake -DHDR_HISTOGRAM_INSTALL_STATIC=OFF .
%make_build
%cmake_build
%check
ls test
test/hdr_atomic_test
test/hdr_histogram_test
%ctest
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%cmake_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT