SHA256
1
0
forked from pool/plzip

Make use of OOT building

OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=15
This commit is contained in:
Jan Engelhardt 2015-02-08 14:45:51 +00:00 committed by Git OBS Bridge
parent 98c2c97104
commit fc3de15d23

View File

@ -50,7 +50,10 @@ distribution and data archiving.
%setup -q
%build
./configure \
mkdir build
pushd build
# not autoconf
../configure \
--prefix="%{_prefix}" \
--bindir="%{_bindir}" \
--datadir="%{_datadir}" \
@ -63,14 +66,18 @@ distribution and data archiving.
CXX="%__cxx" \
CPPFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}"
%__make %{?_smp_flags}
make %{?_smp_flags}
popd
%install
%__make DESTDIR="%{buildroot}" LDCONFIG=echo install
pushd build
%make_install LDCONFIG=echo
popd
%check
%__make check
pushd build
make check
popd
%post
%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}".info%{ext_info}