Accepting request 624953 from home:pluskalm:branches:Archiving

- Use cmake macros for building and tests

OBS-URL: https://build.opensuse.org/request/show/624953
OBS-URL: https://build.opensuse.org/package/show/Archiving/brotli?expand=0&rev=11
This commit is contained in:
Jan Engelhardt 2018-07-24 08:43:35 +00:00 committed by Git OBS Bridge
parent d19cd974ba
commit 9c82b95146
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 24 07:55:04 UTC 2018 - mpluskal@suse.com
- Use cmake macros for building and tests
-------------------------------------------------------------------
Thu Jun 28 11:04:51 UTC 2018 - mpluskal@suse.com

View File

@ -94,7 +94,7 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.
-DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" \
-DBROTLI_DISABLE_TESTS:BOOL=off \
-DCMAKE_SKIP_RPATH:BOOL=off
make %{?_smp_mflags}
%make_jobs
%install
%cmake_install
@ -111,8 +111,7 @@ done
%endif
%check
cd build
make test
%ctest
%post -n libbrotlicommon%{sover} -p /sbin/ldconfig
%postun -n libbrotlicommon%{sover} -p /sbin/ldconfig