[xmlto/f16] fix the noextensions option (#830266)
Ondrej Vasik
ovasik at fedoraproject.org
Fri Jun 8 18:48:05 UTC 2012
commit 474e5128e147bbe935e7ee46ecbb7d1012af5968
Author: Ondřej Vašík <ovasik at redhat.com>
Date: Fri Jun 8 20:47:55 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..de52c2c
--- /dev/null
+++ b/xmlto-noextensions.patch
@@ -0,0 +1,12 @@
+diff -urNp xmlto-0.0.24-orig/xmlto.in xmlto-0.0.24/xmlto.in
+--- xmlto-0.0.24-orig/xmlto.in 2011-07-14 12:41:25.000000000 +0200
++++ xmlto-0.0.24/xmlto.in 2012-06-08 20:44:06.510883637 +0200
+@@ -253,7 +253,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 e2f5b6c..5e934c5 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.24
-Release: 1%{?dist}
+Release: 2%{?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.24-2
+- fix the noextensions option (#830266)
+
* Thu Jul 14 2011 Ondrej Vasik <ovasik at redhat.com> - 0.0.24-1
- new release 0.0.24, basic support for docbook->epub
conversion, use backend extensions by default
More information about the scm-commits
mailing list