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
This commit is contained in:
Todd R 2015-07-27 14:31:46 +00:00 committed by Git OBS Bridge
parent 57997861db
commit 163118d2e3
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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