[rst2pdf] Fix for bz #842800
Sergio Pascual
sergiopr at fedoraproject.org
Fri Jul 27 10:00:48 UTC 2012
commit 774a5f527cdb20764af91bd9105f2db5624886c0
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Fri Jul 27 12:00:35 2012 +0200
Fix for bz #842800
rst2pdf-bz842800.patch | 12 ++++++++++++
rst2pdf.spec | 9 +++++++--
2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/rst2pdf-bz842800.patch b/rst2pdf-bz842800.patch
new file mode 100644
index 0000000..0d5d845
--- /dev/null
+++ b/rst2pdf-bz842800.patch
@@ -0,0 +1,12 @@
+diff -ur rst2pdf-0.92/rst2pdf/tests/autotest.py rst2pdf-0.92.new/rst2pdf/tests/autotest.py
+--- rst2pdf-0.92/rst2pdf/tests/autotest.py 2012-03-04 04:01:12.000000000 +0100
++++ rst2pdf-0.92.new/rst2pdf/tests/autotest.py 2012-07-27 11:48:11.427475808 +0200
+@@ -58,7 +58,7 @@
+ module namespace. It is never instantiated.
+ '''
+ rootdir = os.path.realpath(dirname(__file__))
+- bindir = os.path.abspath(os.path.join(rootdir, '..', '..', 'bin'))
++ bindir = '/usr/bin'
+ runfile = os.path.join(bindir, 'rst2pdf')
+ inpdir = os.path.join(rootdir, 'input')
+ outdir = os.path.join(rootdir, 'output')
diff --git a/rst2pdf.spec b/rst2pdf.spec
index 66cc135..9d6a5cc 100644
--- a/rst2pdf.spec
+++ b/rst2pdf.spec
@@ -2,13 +2,14 @@
Name: rst2pdf
Version: 0.92
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Tool for transforming reStructuredText to PDF
License: MIT
Group: Development/Languages
-URL: http://rst2pdf.googlecode.com
+URL: http://http://rst2pdf.ralsina.com.ar
Source0: http://rst2pdf.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0: rst2pdf-bz842800.patch
BuildRequires: python-setuptools python-devel
Requires: python-reportlab python-simplejson python-pygments python-docutils
@@ -19,6 +20,7 @@ Tool for transforming reStructuredText to PDF using ReportLab
%prep
%setup -q
+%patch0 -p1
sed -i -e "1d" rst2pdf/findfonts.py
sed -i -e "1d" rst2pdf/smartypants.py
sed -i 's/\r//' Contributors.txt
@@ -42,6 +44,9 @@ done
%{python_sitelib}/%{name}*
%changelog
+* Fri Jul 27 2012 Sergio Pascual <sergiopr at fedoraproject.org> - 0.92-3
+- Fix for bz #842800
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list