forked from pool/lz4
Accepting request 738859 from home:pgajdos
- enable testsuite - verbose build OBS-URL: https://build.opensuse.org/request/show/738859 OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=44
This commit is contained in:
parent
4d19309134
commit
ef1e7960f2
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 16 08:51:54 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- enable testsuite
|
||||
- verbose build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 14:48:45 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
6
lz4.spec
6
lz4.spec
@ -71,10 +71,7 @@ applications that want to make use of liblz4.
|
||||
%patch -P 2 -p1
|
||||
|
||||
%build
|
||||
# Goddammit, lz4, stop hardcoding silent mode.
|
||||
perl -i -pe 's{^\t@}{\t}g' Makefile */Makefile
|
||||
|
||||
make %{?_smp_mflags} CFLAGS="%optflags"
|
||||
V=1 make %{?_smp_mflags} CFLAGS="%optflags"
|
||||
|
||||
%install
|
||||
%make_install PREFIX="%_prefix" LIBDIR="%_libdir"
|
||||
@ -82,6 +79,7 @@ rm -f "%buildroot/%_libdir"/*.a
|
||||
|
||||
%check
|
||||
LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4"
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user