Fixed a small problem with .la, Daniel

This commit is contained in:
Daniel Veillard 2005-09-04 22:59:11 +00:00
parent 20b27816f9
commit 911137c196

View File

@ -1,7 +1,7 @@
Summary: Library providing XML and HTML support Summary: Library providing XML and HTML support
Name: libxml2 Name: libxml2
Version: 2.6.21 Version: 2.6.21
Release: 1 Release: 2
License: MIT License: MIT
Group: Development/Libraries Group: Development/Libraries
Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
@ -100,7 +100,8 @@ rm -fr %{buildroot}
%makeinstall %makeinstall
(cd doc/examples ; make clean ; rm -rf .deps) (cd doc/examples ; make clean ; rm -rf .deps)
gzip -9 doc/libxml2-api.xml gzip -9 doc/libxml2-api.xml
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \
$RPM_BUILD_ROOT%{_libdir}/python*/site-packages/libxml2mod*a
%clean %clean
rm -fr %{buildroot} rm -fr %{buildroot}