diff --git a/xmlto-findwarning.patch b/xmlto-findwarning.patch new file mode 100644 index 0000000..9454831 --- /dev/null +++ b/xmlto-findwarning.patch @@ -0,0 +1,12 @@ +diff -urNp xmlto-0.0.18.orig/xmlto.in xmlto-0.0.18/xmlto.in +--- xmlto-0.0.18.orig/xmlto.in 2004-01-02 13:03:24.000000000 +0100 ++++ xmlto-0.0.18/xmlto.in 2007-10-08 13:48:22.000000000 +0200 +@@ -47,7 +47,7 @@ determined automatically). + EOF + if [ -d "$FORMAT_DIR" ] + then +- for source in $(${FIND} "$FORMAT_DIR" -type d -maxdepth 1) ++ for source in $(${FIND} "$FORMAT_DIR" -maxdepth 1 -type d) + do + if [ "$source" = "$FORMAT_DIR" ]; then continue; fi + diff --git a/xmlto.spec b/xmlto.spec index 61108d1..5b84e42 100644 --- a/xmlto.spec +++ b/xmlto.spec @@ -3,12 +3,13 @@ Summary: A tool for converting XML files to various formats. Name: xmlto Version: 0.0.18 -Release: 15 +Release: 16 License: GPLv2 Group: Applications/System URL: http://cyberelk.net/tim/xmlto/ Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 Patch0: xmlto-basename.patch +Patch1: xmlto-findwarning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: docbook-xsl >= 1.56.0 @@ -37,6 +38,7 @@ stylesheets. %prep %setup -q %patch0 -p1 -b .basename +%patch1 -p1 -b .findwarning %build touch doc/xmlto.xml doc/xmlif.xml @@ -58,6 +60,9 @@ rm -rf %{buildroot} %{_datadir}/xmlto %changelog +* Mon Oct 8 2007 Ondrej Vasik - 0.0.18-16 +- fixed warning message from find in usage() display(#322121) + * Wed Sep 19 2007 Ondrej Vasik - 0.0.18-15 - fixed wrong source URL