diff --git a/xmlto-stringparam.patch b/xmlto-stringparam.patch new file mode 100644 index 0000000..3c87942 --- /dev/null +++ b/xmlto-stringparam.patch @@ -0,0 +1,22 @@ +diff -urNp xmlto-0.0.21-orig/THANKS xmlto-0.0.21/THANKS +--- xmlto-0.0.21-orig/THANKS 2008-02-25 15:24:59.000000000 +0100 ++++ xmlto-0.0.21/THANKS 2009-01-05 17:55:58.000000000 +0100 +@@ -11,3 +11,4 @@ Shlomi Fish + Braden McDaniel + Andreas Hoenen + Graham Wilson ++Joseph Parmelee +diff -urNp xmlto-0.0.21-orig/xmlto.in xmlto-0.0.21/xmlto.in +--- xmlto-0.0.21-orig/xmlto.in 2008-05-30 15:41:31.000000000 +0200 ++++ xmlto-0.0.21/xmlto.in 2009-01-05 17:55:12.000000000 +0100 +@@ -273,8 +273,8 @@ while [ "$#" -gt "0" ]; do + ;; + --stringparam) + MYPARAM="$2" +- XSLTPARAMS="XSLTPARAMS --stringparam ${MYPARAM%=*}" +- XSLTPARAMS="XSLTPARAMS $MYPARAM#*=}" ++ XSLTPARAMS="$XSLTPARAMS --stringparam ${MYPARAM%=*}" ++ XSLTPARAMS="$XSLTPARAMS ${MYPARAM#*=}" + shift 2 + ;; + --noclean) diff --git a/xmlto.spec b/xmlto.spec index 502dd59..ba106c2 100644 --- a/xmlto.spec +++ b/xmlto.spec @@ -1,7 +1,8 @@ Summary: A tool for converting XML files to various formats Name: xmlto Version: 0.0.21 -Release: 4%{?dist} +Release: 5%{?dist} +#xmlto is released under GPLv2+ license, xmlif under GPL+ license License: GPLv2+ and GPL+ Group: Applications/System #Older versions up to xmlto-0.0.20 @@ -9,6 +10,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 +Patch0: xmlto-stringparam.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -42,6 +44,7 @@ PassiveTeX/TeX for functionality. %prep %setup -q +%patch0 -p1 -b .stringparam %build %configure @@ -74,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/xmlto/format/fo/pdf %changelog +* Mon Jan 05 2009 Ondrej Vasik - 0.0.21-5 +- fix stringparam option functionality + * Tue Dec 16 2008 Ondrej Vasik - 0.0.21-4 - merge review(#226568) correct doc filelist attributes, add License GPL+ for xmlif