15
0

* 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/package/show/devel:languages:python/python-certifi?expand=0&rev=28
This commit is contained in:
Tomáš Chvátal
2018-04-17 11:33:28 +00:00
committed by Git OBS Bridge
parent 745deb9718
commit 655766224d
2 changed files with 6 additions and 5 deletions

View File

@@ -2,6 +2,8 @@
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

@@ -23,7 +23,7 @@ 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