rpms/xmlto/devel xmlto-findwarning.patch, NONE, 1.1 xmlto.spec, 1.30, 1.31

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Mon Oct 8 12:04:47 UTC 2007


Author: ovasik

Update of /cvs/extras/rpms/xmlto/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10045

Modified Files:
	xmlto.spec 
Added Files:
	xmlto-findwarning.patch 
Log Message:
fix of find warning while displaying usage of xmlto

xmlto-findwarning.patch:

--- NEW FILE xmlto-findwarning.patch ---
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
 


Index: xmlto.spec
===================================================================
RCS file: /cvs/extras/rpms/xmlto/devel/xmlto.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- xmlto.spec	19 Sep 2007 08:42:12 -0000	1.30
+++ xmlto.spec	8 Oct 2007 12:04:12 -0000	1.31
@@ -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 @@
 %prep
 %setup -q
 %patch0 -p1 -b .basename
+%patch1 -p1 -b .findwarning
 
 %build
 touch doc/xmlto.xml doc/xmlif.xml
@@ -58,6 +60,9 @@
 %{_datadir}/xmlto
 
 %changelog
+* Mon Oct  8 2007 Ondrej Vasik <ovasik at redhat.com> - 0.0.18-16
+- fixed warning message from find in usage() display(#322121)
+
 * Wed Sep 19 2007 Ondrej Vasik <ovasik at redhat.com> - 0.0.18-15
 - fixed wrong source URL
 




More information about the fedora-extras-commits mailing list