diff --git a/opus.spec b/opus.spec index dbf1a35..1af69de 100644 --- a/opus.spec +++ b/opus.spec @@ -30,7 +30,7 @@ Files for development with opus. cp %{SOURCE1} . %build -%configure --enable-custom-modes +%configure --enable-custom-modes --disable-static make %{?_smp_mflags} @@ -39,8 +39,7 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Remove libtool archives and static libs -find %{buildroot} -name '*.la' -exec rm -f {} ';' -find %{buildroot} -name '*.a' -exec rm -f {} ';' +find %{buildroot} -type f -name "*.la" -delete %check make check