rpms/python-markdown2/EL-5 markdown2-old-pygments.patch, NONE, 1.1 import.log, 1.5, 1.6 python-markdown2.spec, 1.8, 1.9

Thomas Moschny thm at fedoraproject.org
Thu Sep 3 16:04:27 UTC 2009


Author: thm

Update of /cvs/pkgs/rpms/python-markdown2/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv634/EL-5

Modified Files:
	import.log python-markdown2.spec 
Added Files:
	markdown2-old-pygments.patch 
Log Message:
Patch syntax_color test case for older pygments version on rhel.

markdown2-old-pygments.patch:
 syntax_color.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE markdown2-old-pygments.patch ---
diff -up markdown2-1.0.1.13/test/tm-cases/syntax_color.html.orig markdown2-1.0.1.13/test/tm-cases/syntax_color.html
--- markdown2-1.0.1.13/test/tm-cases/syntax_color.html.orig	2009-04-07 16:39:22.000000000 +0200
+++ markdown2-1.0.1.13/test/tm-cases/syntax_color.html	2009-09-02 22:19:38.000000000 +0200
@@ -1,6 +1,6 @@
 <p>Here is some sample code:</p>
 
-<div class="codehilite"><pre><code><span class="kn">import</span> <span class="nn">sys</span>
+<div class="codehilite"><pre><code><span class="k">import</span> <span class="nn">sys</span>
 <span class="k">def</span> <span class="nf">main</span><span class="p">(</span><span class="n">argv</span><span class="o">=</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">):</span>
     <span class="n">logging</span><span class="o">.</span><span class="n">basicConfig</span><span class="p">()</span>
     <span class="n">log</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s">'hi'</span><span class="p">)</span>


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/python-markdown2/EL-5/import.log,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- import.log	11 Jul 2009 15:48:54 -0000	1.5
+++ import.log	3 Sep 2009 16:04:27 -0000	1.6
@@ -3,3 +3,4 @@ python-markdown2-1_0_1_8-1_fc9:HEAD:pyth
 python-markdown2-1_0_1_9-1_fc9:HEAD:python-markdown2-1.0.1.9-1.fc9.src.rpm:1221203243
 python-markdown2-1_0_1_11-1_fc9:HEAD:python-markdown2-1.0.1.11-1.fc9.src.rpm:1222984575
 python-markdown2-1_0_1_13-1_fc11:HEAD:python-markdown2-1.0.1.13-1.fc11.src.rpm:1247327308
+python-markdown2-1_0_1_13-3_fc11:EL-5:python-markdown2-1.0.1.13-3.fc11.src.rpm:1251993836


Index: python-markdown2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-markdown2/EL-5/python-markdown2.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- python-markdown2.spec	26 Jul 2009 20:38:32 -0000	1.8
+++ python-markdown2.spec	3 Sep 2009 16:04:27 -0000	1.9
@@ -4,12 +4,14 @@
 
 Name:           python-%{srcname}
 Version:        1.0.1.13
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A fast and complete Python implementation of Markdown
 Group:          Development/Languages
 License:        MIT
 URL:            http://code.google.com/p/python-%{srcname}/
 Source0:        http://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.zip
+# needed on rhel with python-pygments 0.9
+Patch0:         markdown2-old-pygments.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  python-devel
@@ -30,6 +32,9 @@ http://daringfireball.net/projects/markd
 
 %prep
 %setup0 -q -n %{srcname}-%{version}
+%if 0%{?rhel}
+%patch0 -p1
+%endif
 
 
 %build
@@ -63,6 +68,9 @@ cd test
 
 
 %changelog
+* Wed Sep  2 2009 Thomas Moschny <thomas.moschny at gmx.de> - 1.0.1.13-3
+- Patch syntax_color test case for older pygments version on rhel.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1.13-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list