diff --git a/gnome-doc-utils-permissive.patch b/gnome-doc-utils-permissive.patch new file mode 100644 index 0000000..46cd14e --- /dev/null +++ b/gnome-doc-utils-permissive.patch @@ -0,0 +1,17 @@ +This patch is an ugly hack and should be removed ASAP. + +Many GNOME docs fail without it, it causes failing packages and it +causes failing rebuild of other packages. + +================================================================================ +--- xslt/docbook/omf/db2omf.xsl ++++ xslt/docbook/omf/db2omf.xsl +@@ -237,7 +237,7 @@ + $info/publisher[@role='maintainer'] | + $info/authorgroup/*[@role='maintainer'] "/> + +- ++ + db2omf: Could not construct the OMF maintainer element. + Add an author, corpauthor, editor, othercredit, or publisher + element with the role attribute set to "maintainer" to diff --git a/gnome-doc-utils.changes b/gnome-doc-utils.changes index 117ccfe..805aca3 100644 --- a/gnome-doc-utils.changes +++ b/gnome-doc-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 17:44:02 CET 2007 - sbrabec@suse.cz + +- Be more permissive for incorrectly formatted docs. + ------------------------------------------------------------------- Mon Feb 19 10:32:34 CST 2007 - maw@suse.de diff --git a/gnome-doc-utils.spec b/gnome-doc-utils.spec index 20ffa13..749ee4b 100644 --- a/gnome-doc-utils.spec +++ b/gnome-doc-utils.spec @@ -16,9 +16,10 @@ License: GNU General Public License (GPL), GNU Library General Public Lic Group: System/GUI/GNOME Autoreqprov: on Version: 0.9.2 -Release: 1 +Release: 2 Summary: A Collection of Documentation Utilities for GNOME Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.8/%{name}-%{version}.tar.bz2 +Patch: gnome-doc-utils-permissive.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libxml2-python @@ -85,6 +86,8 @@ Authors: %prep %setup -q +# This patch is an ugly hack and should be removed ASAP: +%patch %build ACLOCAL="aclocal -I $PWD" autoreconf -f -i @@ -120,6 +123,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pkgconfig/*.pc %changelog +* Mon Feb 26 2007 - sbrabec@suse.cz +- Be more permissive for incorrectly formatted docs. * Mon Feb 19 2007 - maw@suse.de - Update to version 0.9.2. * Mon Jan 29 2007 - sbrabec@suse.cz