[python-peak-rules] Update for new snapshot that's python-2.7 compatible

Toshio くらとみ toshio at fedoraproject.org
Tue Aug 3 18:58:20 UTC 2010


commit cd84a6fd2ca8e2626acfa700624882bbb3c5a8b1
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Tue Aug 3 14:57:48 2010 -0400

    Update for new snapshot that's python-2.7 compatible

 python-peak-rules-doctest.patch        |   96 --------------------------------
 python-peak-rules-x86_64-doctest.patch |    8 ++-
 python-peak-rules.spec                 |    6 +-
 3 files changed, 7 insertions(+), 103 deletions(-)
---
diff --git a/python-peak-rules-x86_64-doctest.patch b/python-peak-rules-x86_64-doctest.patch
index 9e2a36d..7b07d99 100644
--- a/python-peak-rules-x86_64-doctest.patch
+++ b/python-peak-rules-x86_64-doctest.patch
@@ -1,6 +1,8 @@
---- Indexing.txt.orig	2009-06-03 07:43:19.000000000 -0400
-+++ Indexing.txt	2009-06-03 07:43:54.000000000 -0400
-@@ -644,7 +644,7 @@
+Index: Indexing.txt
+===================================================================
+--- Indexing.txt.orig
++++ Indexing.txt
+@@ -667,7 +667,7 @@ And to handle sets with more than 31 bit
  long integers::
  
      >>> seven_long = to_bits([32,33,34])
diff --git a/python-peak-rules.spec b/python-peak-rules.spec
index 003bb5e..aa23bf0 100644
--- a/python-peak-rules.spec
+++ b/python-peak-rules.spec
@@ -22,8 +22,7 @@ URL:            http://pypi.python.org/pypi/PEAK-Rules
 # Use a snapshot so we can get both python-2.7 compat and GPLv2 compatibility
 Source0:        http://peak.telecommunity.com/snapshots/%{packagename}-%{version}-r%{devrev}.tar.gz
 Patch0:         %{name}-setup.patch
-Patch1:         %{name}-doctest.patch
-Patch2:         %{name}-x86_64-doctest.patch
+Patch1:         %{name}-x86_64-doctest.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -50,8 +49,7 @@ dispatch engines and custom method combinations, if you need or want to.)
 %prep
 %setup -q -n %{packagename}-%{version}-r%{devrev}
 %patch0 -b .setup
-%patch1 -p1 -b .test
-%patch2 -p0 -b .x86_64
+%patch1 -p0 -b .x86_64
 %{__chmod} -x %{docs}
 
 %build


More information about the scm-commits mailing list