Accepting request 597443 from devel:languages:python

- update to 2018.4.16
  * Remove Elektronik Sertifika Hizket from cacert.pem
- This is noop as we use our cacert list from /etc/ssl/ca-bundle.pem

OBS-URL: https://build.opensuse.org/request/show/597443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-certifi?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-04-23 13:24:55 +00:00 committed by Git OBS Bridge
commit 0c155c6f3e
4 changed files with 15 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edbc3f203427eef571f79a7692bb160a2b0f7ccaa31953e99bd17e307cf63f7d
size 151258

3
certifi-2018.4.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7
size 149967

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 17 10:53:35 UTC 2018 - michael@stroeder.com
- update to 2018.4.16
* Remove Elektronik Sertifika Hizket from cacert.pem
- This is noop as we use our cacert list from /etc/ssl/ca-bundle.pem
-------------------------------------------------------------------
Sun Feb 4 00:36:29 UTC 2018 - arun@gmx.de

View File

@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-certifi
Version: 2018.1.18
Version: 2018.4.16
Release: 0
Summary: Python package for providing Mozilla's CA Bundle
License: MPL-2.0
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/certifi
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
@ -34,7 +34,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
Requires: ca-certificates-mozilla
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -56,7 +55,7 @@ derived from Mozilla Firefox's canonical set.
%python_install
%{python_expand chmod +x %{buildroot}%{$python_sitelib}/certifi/core.py
sed -i "s|#!/usr/bin/env python|#!%__$python|" %{buildroot}/%{$python_sitelib}/certifi/core.py
sed -i "s|#!%{_bindir}/env python|#!%__$python|" %{buildroot}/%{$python_sitelib}/certifi/core.py
rm %{buildroot}%{$python_sitelib}/certifi/cacert.pem
}
@ -72,8 +71,8 @@ derived from Mozilla Firefox's canonical set.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%license LICENSE
%doc README.rst
%{python_sitelib}/certifi/
%{python_sitelib}/certifi-%{version}-py*.egg-info