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.
|
Summary: A tool for converting XML files to various formats.
|
||||||
Name: xmlto
|
Name: xmlto
|
||||||
Version: 0.0.18
|
Version: 0.0.18
|
||||||
Release: 15
|
Release: 16
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://cyberelk.net/tim/xmlto/
|
URL: http://cyberelk.net/tim/xmlto/
|
||||||
Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
|
Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
|
||||||
Patch0: xmlto-basename.patch
|
Patch0: xmlto-basename.patch
|
||||||
|
Patch1: xmlto-findwarning.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
|
||||||
BuildRequires: docbook-xsl >= 1.56.0
|
BuildRequires: docbook-xsl >= 1.56.0
|
||||||
@ -37,6 +38,7 @@ stylesheets.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .basename
|
%patch0 -p1 -b .basename
|
||||||
|
%patch1 -p1 -b .findwarning
|
||||||
|
|
||||||
%build
|
%build
|
||||||
touch doc/xmlto.xml doc/xmlif.xml
|
touch doc/xmlto.xml doc/xmlif.xml
|
||||||
@ -58,6 +60,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/xmlto
|
%{_datadir}/xmlto
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 19 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-15
|
||||||
- fixed wrong source URL
|
- fixed wrong source URL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user