[xmlto] fix the noextensions option (#830266)

Ondrej Vasik ovasik at fedoraproject.org
Fri Jun 8 18:34:02 UTC 2012


commit 19fc980054fc13d4e7c4a1dd295ed4bc11e8e7ca
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Fri Jun 8 20:33:52 2012 +0200

    fix the noextensions option (#830266)

 xmlto-noextensions.patch |   12 ++++++++++++
 xmlto.spec               |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/xmlto-noextensions.patch b/xmlto-noextensions.patch
new file mode 100644
index 0000000..1ff2415
--- /dev/null
+++ b/xmlto-noextensions.patch
@@ -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"
diff --git a/xmlto.spec b/xmlto.spec
index aba17f7..ce9b1dd 100644
--- a/xmlto.spec
+++ b/xmlto.spec
@@ -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 at redhat.com> - 0.0.25-3
+- fix the noextensions option (#830266)
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.25-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list