fix FTBFS by removing .la file in install phase instead of excluding it
This commit is contained in:
parent
c31e753f4b
commit
3309ca4a56
@ -86,6 +86,9 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
||||||
|
|
||||||
|
# Remove libtool archive
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -100,7 +103,6 @@ make check
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/volume_key
|
%{_includedir}/volume_key
|
||||||
%exclude %{_libdir}/libvolume_key.la
|
|
||||||
%{_libdir}/libvolume_key.so
|
%{_libdir}/libvolume_key.so
|
||||||
|
|
||||||
%files libs -f volume_key.lang
|
%files libs -f volume_key.lang
|
||||||
@ -108,7 +110,6 @@ make check
|
|||||||
%{_libdir}/libvolume_key.so.*
|
%{_libdir}/libvolume_key.so.*
|
||||||
|
|
||||||
%files -n python2-volume_key
|
%files -n python2-volume_key
|
||||||
%exclude %{python_sitearch}/_volume_key.la
|
|
||||||
%{python2_sitearch}/_volume_key.so
|
%{python2_sitearch}/_volume_key.so
|
||||||
%{python2_sitearch}/volume_key.py*
|
%{python2_sitearch}/volume_key.py*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user