Accepting request 533607 from home:glaubitz:branches:devel:languages:python

- add patch to fix version string from 2017.07.27.1 to
  2017.7.27.1 to fix the build on SLE12_SP3 and earlier
  + python-certifi-fix-version-string.patch

OBS-URL: https://build.opensuse.org/request/show/533607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-certifi?expand=0&rev=19
This commit is contained in:
Dirk Mueller 2017-10-12 11:16:32 +00:00 committed by Git OBS Bridge
parent ab59098ae8
commit 98c71b1c9d
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
diff -Nru certifi-2017.7.27.1.orig/certifi/__init__.py certifi-2017.7.27.1/certifi/__init__.py
--- certifi-2017.7.27.1.orig/certifi/__init__.py 2017-07-27 17:45:44.000000000 +0200
+++ certifi-2017.7.27.1/certifi/__init__.py 2017-10-12 10:50:57.829829040 +0200
@@ -1,3 +1,3 @@
from .core import where, old_where
-__version__ = "2017.07.27.1"
+__version__ = "2017.7.27.1"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 12 08:52:57 UTC 2017 - adrian.glaubitz@suse.com
- add patch to fix version string from 2017.07.27.1 to
2017.7.27.1 to fix the build on SLE12_SP3 and earlier
+ python-certifi-fix-version-string.patch
-------------------------------------------------------------------
Tue Oct 3 05:42:11 UTC 2017 - arun@gmx.de

View File

@ -27,6 +27,7 @@ Url: https://pypi.python.org/pypi/certifi
Source: https://files.pythonhosted.org/packages/source/c/certifi/certifi-%{version}.tar.gz
# PATCH-FIX-SUSE -- prefer SUSE certificates
Patch0: python-certifi-shipped-requests-cabundle.patch
Patch1: python-certifi-fix-version-string.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: ca-certificates
@ -48,6 +49,7 @@ derived from Mozilla Firefox's canonical set.
%prep
%setup -q -n certifi-%{version}
%patch0 -p1
%patch1 -p1
%build
%python_build