fix locale-based papersize selection (#527395)
This commit is contained in:
parent
9e36cde73b
commit
789af7782e
12
docbook-utils-papersize.patch
Normal file
12
docbook-utils-papersize.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
|
||||
--- docbook-utils-0.6.14-orig/bin/jw.in 2009-10-07 14:41:19.000000000 +0200
|
||||
+++ docbook-utils-0.6.14/bin/jw.in 2009-10-07 14:45:22.000000000 +0200
|
||||
@@ -368,7 +368,7 @@ case "$SGML_OPTIONS" in
|
||||
fi
|
||||
if [ -n "$papersize" ]
|
||||
then
|
||||
- SGML_OPTIONS="-V paper-type=$papersize $SGML_OPTIONS"
|
||||
+ SGML_OPTIONS="-V %paper-type%=$papersize $SGML_OPTIONS"
|
||||
fi
|
||||
;;
|
||||
esac
|
@ -1,6 +1,6 @@
|
||||
Name: docbook-utils
|
||||
Version: 0.6.14
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Group: Applications/Text
|
||||
|
||||
Summary: Shell scripts for managing DocBook documents
|
||||
@ -34,6 +34,7 @@ Patch2: docbook-utils-w3mtxtconvert.patch
|
||||
Patch3: docbook-utils-grepnocolors.patch
|
||||
Patch4: docbook-utils-sgmlinclude.patch
|
||||
Patch5: docbook-utils-rtfmanpage.patch
|
||||
Patch6: docbook-utils-papersize.patch
|
||||
|
||||
%description
|
||||
This package contains scripts are for easy conversion from DocBook
|
||||
@ -63,6 +64,7 @@ PDF format.
|
||||
%patch3 -p1 -b .grepnocolors
|
||||
%patch4 -p1 -b .sgmlinclude
|
||||
%patch5 -p1 -b .rtfman
|
||||
%patch6 -p1 -b .papersize
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir}
|
||||
@ -132,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/*/docbook2ps.*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 07 2009 Ondrej Vasik <ovasik@redhat.com> 0.6.14-21
|
||||
- fix locale-based papersize selection (#527395)
|
||||
|
||||
* Thu Aug 27 2009 Ondrej Vasik <ovasik@redhat.com> 0.6.14-20
|
||||
- provide symlink manpage for docbook2txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user