[python-postman] fixing deps requires a new patch

Brett Lentz wakko666 at fedoraproject.org
Tue Jul 31 18:13:29 UTC 2012


commit 69d385a68a0f085297b5d035dc6ff370392882e2
Author: Brett Lentz <blentz at redhat.com>
Date:   Tue Jul 31 14:12:58 2012 -0400

    fixing deps requires a new patch

 postman_fixdeps.patch  |    3 ++-
 postman_fixdeps2.patch |   11 +++++++++++
 python-postman.spec    |    3 +++
 3 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/postman_fixdeps.patch b/postman_fixdeps.patch
index 1ea75a2..caf3be5 100644
--- a/postman_fixdeps.patch
+++ b/postman_fixdeps.patch
@@ -5,6 +5,7 @@
      },
      install_requires = [
 -        "argparse==1.2.1",
-         "boto>=2.0"
+-        "boto==2.0"
++        "boto>=2.0"
      ]
  )
diff --git a/postman_fixdeps2.patch b/postman_fixdeps2.patch
new file mode 100644
index 0000000..09ceef2
--- /dev/null
+++ b/postman_fixdeps2.patch
@@ -0,0 +1,11 @@
+--- setup.py.orig	2011-10-18 11:37:53.271002352 -0400
++++ setup.py	2011-10-18 11:38:01.130014863 -0400
+@@ -23,7 +23,7 @@
+         ],
+     },
+     install_requires = [
+         "argparse==1.2.1",
+-        "boto==2.0"
++        "boto>=2.0"
+     ]
+ )
diff --git a/python-postman.spec b/python-postman.spec
index f246a13..78d42de 100644
--- a/python-postman.spec
+++ b/python-postman.spec
@@ -15,6 +15,7 @@ URL:            http://pypi.python.org/pypi/%{pkgname}
 Source0:        http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz
 Patch0:         postman_fixdeps.patch
 Patch1:         postman_logging.patch
+Patch2:         postman_fixdeps2.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -45,6 +46,8 @@ http://aws.amazon.com/articles/2405502737055650
 # Remove the explicit argparse requirement for python 2.7+
 %if 0%{?fedora} > 14 || 0%{?rhel} > 7
 %patch0
+%else
+%patch2
 %endif
 
 %patch1


More information about the scm-commits mailing list