Try to fix multiarch problems, Daniel

This commit is contained in:
Daniel Veillard 2008-05-15 09:24:00 +00:00
parent dcfa5c5c14
commit 97063c2963

View File

@ -1,7 +1,7 @@
Summary: Library providing XML and HTML support
Name: libxml2
Version: 2.6.32
Release: 1%{?dist}%{?extra_release}
Release: 2%{?dist}%{?extra_release}
License: MIT
Group: Development/Libraries
Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
@ -70,10 +70,13 @@ gzip -9 ChangeLog
rm -fr %{buildroot}
%makeinstall
(cd doc/examples ; make clean ; rm -rf .deps)
gzip -9 doc/libxml2-api.xml
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# multiarch crazyness on timestamp differences or Makefile/binaries for examples
touch -m --reference=$RPM_BUILD_ROOT/%{prefix}/include/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{prefix}/bin/xml2-config
(cd doc/examples ; make clean ; rm -rf .deps Makefile)
%clean
rm -fr %{buildroot}
@ -130,7 +133,10 @@ rm -fr %{buildroot}
%doc doc/python.html
%changelog
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> 2.6.31-2.fc9
* Thu May 15 2008 Daniel Veillard <veillard@redhat.com> 2.6.31-2.fc10
- try to fix multiarch problems like #440206
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> 2.6.31-1.fc9
- upstream release 2.6.32 see http://xmlsoft.org/news.html
- many bug fixed upstream