use new rpm macros
This commit is contained in:
parent
955d6a184c
commit
4da038ae7d
@ -37,17 +37,17 @@ cp %{SOURCE2} .
|
||||
%configure --enable-custom-modes --disable-static \
|
||||
--enable-hardening --enable-ambisonics
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# Remove libtool archives and static libs
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
rm -rf %{buildroot}%{_datadir}/doc/opus/html
|
||||
|
||||
%check
|
||||
make check
|
||||
make check %{?_smp_mflags} V=1
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user