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:
parent
c309c8d96f
commit
389bc934db
@ -63,7 +63,7 @@ This subpackage contains libraries and header files for developing
|
|||||||
applications that want to make use of libcerror.
|
applications that want to make use of libcerror.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %name-%version
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# not autoconf!
|
# not autoconf!
|
||||||
@ -75,7 +75,7 @@ pushd build/
|
|||||||
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
|
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
|
||||||
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
|
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
|
||||||
CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags"
|
CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -87,7 +87,7 @@ rm -f "%buildroot/%_libdir"/*.a
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build/
|
pushd build/
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user