SHA256
1
0
forked from pool/lzlib

More macro usage

OBS-URL: https://build.opensuse.org/package/show/Archiving/lzlib?expand=0&rev=25
This commit is contained in:
Jan Engelhardt 2021-01-21 12:50:18 +00:00 committed by Git OBS Bridge
parent c309c8d96f
commit 389bc934db

View File

@ -63,7 +63,7 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libcerror.
%prep
%autosetup -n %name-%version
%autosetup
%build
# not autoconf!
@ -75,7 +75,7 @@ pushd build/
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags"
make %{?_smp_mflags}
%make_build
popd
%install
@ -87,7 +87,7 @@ rm -f "%buildroot/%_libdir"/*.a
%check
pushd build/
make %{?_smp_mflags} check
%make_build check
popd
%post -n %lname -p /sbin/ldconfig