From 655766224ddeb771870bbab5f61512b01fd405bab4b8c837d504c1cd5b475717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Apr 2018 11:33:28 +0000 Subject: [PATCH] * 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 --- python-certifi.changes | 2 ++ python-certifi.spec | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/python-certifi.changes b/python-certifi.changes index 838d4c7..2f9cc24 100644 --- a/python-certifi.changes +++ b/python-certifi.changes @@ -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 diff --git a/python-certifi.spec b/python-certifi.spec index 0be4bff..05fe477 100644 --- a/python-certifi.spec +++ b/python-certifi.spec @@ -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