forked from pool/python-certifi
Accepting request 400027 from home:winski:python
Update to newest version, update copyright year, fix executable build warning. OBS-URL: https://build.opensuse.org/request/show/400027 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-certifi?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
8c0569a071
commit
4bc8ce9190
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-certifi
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,15 +13,16 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-certifi
|
||||
Version: 2015.11.20.1
|
||||
Version: 2016.2.28
|
||||
Release: 0
|
||||
License: MPL-2.0
|
||||
Summary: Python package for providing Mozilla's CA Bundle
|
||||
Url: https://pypi.python.org/pypi/certifi
|
||||
License: MPL-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.python.org/pypi/certifi
|
||||
Source: https://pypi.python.org/packages/source/c/certifi/certifi-%{version}.tar.gz
|
||||
# PATCH-FIX-SUSE -- prefer SUSE certificates
|
||||
Patch0: python-certifi-shipped-requests-cabundle.patch
|
||||
@@ -57,6 +58,7 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
chmod +x %{buildroot}/%{python_sitelib}/certifi/core.py
|
||||
%if 0%{?suse_version} && 0%{?suse_version} > 1110
|
||||
rm %{buildroot}/%{python_sitelib}/certifi/cacert.pem
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user