fix stringparam option functionality, clarify licenses

This commit is contained in:
Ondrej Vasik 2009-01-05 17:01:32 +00:00
parent a735a64487
commit 3075a2307b
2 changed files with 29 additions and 1 deletions

22
xmlto-stringparam.patch Normal file
View File

@ -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 <shlomif@gmail.com>
Braden McDaniel <braden@endoframe.com>
Andreas Hoenen <andreas.hoenen@arcor.de>
Graham Wilson <graham@debian.org>
+Joseph Parmelee <jparmele@wildbear.com>
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)

View File

@ -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 <ovasik@redhat.com> - 0.0.21-5
- fix stringparam option functionality
* Tue Dec 16 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-4
- merge review(#226568)
correct doc filelist attributes, add License GPL+ for xmlif