From 06766992abc24fdfc70fd8d587f7a0bbc0beb622 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 11 Feb 2013 12:38:13 +0800 Subject: [PATCH] Fix --nocheck build Thanks to a patch from Mark Salter --- libxml2.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libxml2.spec b/libxml2.spec index e4f7c68..52921ae 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,7 +1,7 @@ Summary: Library providing XML and HTML support Name: libxml2 Version: 2.9.0 -Release: 3%{?dist}%{?extra_release} +Release: 4%{?dist}%{?extra_release} License: MIT Group: Development/Libraries Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz @@ -84,16 +84,16 @@ make install DESTDIR=%{buildroot} # multiarch crazyness on timestamp differences or Makefile/binaries for examples touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config -%check -make check - rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-%{version}/* rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-python-%{version}/* (cd doc/examples ; make clean ; rm -rf .deps Makefile) -gzip -9 doc/libxml2-api.xml +gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz + +%check +make runtests %clean rm -fr %{buildroot} @@ -153,6 +153,9 @@ rm -fr %{buildroot} %doc doc/python.html %changelog +* Mon Feb 11 2013 Daniel Veillard - 2.9.0-4 +- fix --nocheck build which I broke in october rhbz#909767 + * Mon Nov 19 2012 Jaroslav Reznik - 2.9.0-3 - workaround for crc/len check failure, rhbz#877567