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:
parent
98c2c97104
commit
fc3de15d23
17
plzip.spec
17
plzip.spec
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user