fix the noextensions option (#830266)

This commit is contained in:
Ondřej Vašík 2012-06-08 20:33:52 +02:00
parent 7cdf5af2f0
commit 19fc980054
2 changed files with 18 additions and 1 deletions

12
xmlto-noextensions.patch Normal file
View File

@ -0,0 +1,12 @@
diff -urNp xmlto-0.0.25-orig/xmlto.in xmlto-0.0.25/xmlto.in
--- xmlto-0.0.25-orig/xmlto.in 2011-11-29 12:49:57.000000000 +0100
+++ xmlto-0.0.25/xmlto.in 2012-06-08 20:30:11.492008539 +0200
@@ -262,7 +262,7 @@ ZIP_PATH=@ZIP@
# Process any options
ARGS=$(${GETOPT} \
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,with-fop,with-dblatex \
-n xmlto -- x:m:o:p:v "$@")
[ $? != 0 ] && { usage; exit 1; }
eval set -- "$ARGS"

View File

@ -1,7 +1,7 @@
Summary: A tool for converting XML files to various formats
Name: xmlto
Version: 0.0.25
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
#Older versions up to xmlto-0.0.20
@ -9,6 +9,7 @@ Group: Applications/System
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
URL: https://fedorahosted.org/xmlto/
Source0: https://fedorahosted.org/releases/x/m/%{name}/%{name}-%{version}.tar.bz2
Patch1: xmlto-noextensions.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -58,6 +59,7 @@ xhtml1 source format.
%prep
%setup -q
%patch1 -p1 -b .noextension
%build
%configure BASH=/bin/bash
@ -99,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jun 08 2012 Ondrej Vasik <ovasik@redhat.com> - 0.0.25-3
- fix the noextensions option (#830266)
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild