fix of find warning while displaying usage of xmlto
This commit is contained in:
parent
f5cae7fdc3
commit
0e36511bac
12
xmlto-findwarning.patch
Normal file
12
xmlto-findwarning.patch
Normal file
@ -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
|
||||
|
@ -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 <ovasik@redhat.com> - 0.0.18-16
|
||||
- fixed warning message from find in usage() display(#322121)
|
||||
|
||||
* Wed Sep 19 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-15
|
||||
- fixed wrong source URL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user