diff --git a/volume_key.spec b/volume_key.spec index b12027d..d26bf5e 100644 --- a/volume_key.spec +++ b/volume_key.spec @@ -86,6 +86,9 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +# Remove libtool archive +find %{buildroot} -type f -name "*.la" -delete + %check make check @@ -100,7 +103,6 @@ make check %files devel %{_includedir}/volume_key -%exclude %{_libdir}/libvolume_key.la %{_libdir}/libvolume_key.so %files libs -f volume_key.lang @@ -108,7 +110,6 @@ make check %{_libdir}/libvolume_key.so.* %files -n python2-volume_key -%exclude %{python_sitearch}/_volume_key.la %{python2_sitearch}/_volume_key.so %{python2_sitearch}/volume_key.py*