Adopt %cmake_* macros
This commit is contained in:
parent
b87c8413aa
commit
bab06467e6
@ -26,18 +26,16 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DHDR_HISTOGRAM_INSTALL_STATIC=OFF .
|
%cmake -DHDR_HISTOGRAM_INSTALL_STATIC=OFF .
|
||||||
%make_build
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
ls test
|
%ctest
|
||||||
test/hdr_atomic_test
|
|
||||||
test/hdr_histogram_test
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%make_install
|
%cmake_install
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT
|
find $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user