From 163118d2e340378dc53f2ddca6f623536b8462bd89afdf007ba0e856e89f908d Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 27 Jul 2015 14:31:46 +0000 Subject: [PATCH] Accepting request 318872 from home:seife:OpenStack:Master fix version condition to allow RHEL/CentOS 7 builds OBS-URL: https://build.opensuse.org/request/show/318872 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=60 --- python-requests.changes | 5 +++++ python-requests.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-requests.changes b/python-requests.changes index 1d1b899..3e8960b 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -9,6 +9,11 @@ Fri Jul 24 08:52:50 UTC 2015 - hvogel@suse.com - Handle UnicodeDecodeErrors - Copy a PreparedRequest's CookieJar more reliably +------------------------------------------------------------------- +Fri Jul 24 14:45:44 UTC 2015 - seife+obs@b1-systems.com + +- fix version condition to allow RHEL/CentOS 7 builds + ------------------------------------------------------------------- Tue Jun 30 08:39:24 UTC 2015 - lnussel@suse.de diff --git a/python-requests.spec b/python-requests.spec index b79cf7b..275dcf5 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -70,7 +70,7 @@ Features: %setup -q -n requests-%{version} # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' ./requests/certs.py -%if %suse_version > 1110 +%if 0%{?suse_version} > 1110 || 0%{?rhel} > 6 %patch0 -p1 %else %patch1 -p1