Hello community,

here is the log from the commit of package python-certifi for openSUSE:Factory 
checked in at 2015-06-10 09:15:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certifi (Old)
 and      /work/SRC/openSUSE:Factory/.python-certifi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-certifi"

Changes:
--------
New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ /work/SRC/openSUSE:Factory/.python-certifi.new/python-certifi.changes       
2015-06-10 09:15:35.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Wed Apr 22 13:31:54 UTC 2015 - mci...@suse.cz
+
+- Initial packaging
+

New:
----
  certifi-14.05.14.tar.gz
  python-certifi-shipped-requests-cabundle.patch
  python-certifi.changes
  python-certifi.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-certifi.spec ++++++
#
# spec file for package python-certifi
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


Name:           python-certifi
Version:        14.05.14
Release:        0
License:        ISC
Summary:        Python package for providing Mozilla's CA Bundle
Url:            http://python-requests.org
Group:          Development/Languages/Python
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
BuildRequires:  python-devel
BuildRequires: python-setuptools
%if 0%{?suse_version}
Requires: ca-certificates
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
This installable Python package contains a CA Bundle that you can reference
in your Python code. This is useful for verifying HTTP requests, for example.

This is the same CA Bundle which ships with the Requests codebase, and is
derived from Mozilla Firefox's canonical set.

%prep
%setup -q -n certifi-%{version}
%if 0%{?suse_version}
%patch0 -p1
%endif

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version}
rm %{buildroot}/%{python_sitelib}/certifi/cacert.pem
%endif

%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{python_sitelib}/*

%changelog
++++++ python-certifi-shipped-requests-cabundle.patch ++++++
--- a/certifi/core.py.orig      2014-05-16 16:50:08.000000000 +0200
+++ b/certifi/core.py   2014-12-22 12:28:19.529632069 +0100
@@ -13,7 +13,7 @@
 def where():
     f = os.path.split(__file__)[0]
 
-    return os.path.join(f, 'cacert.pem')
+    return "/etc/ssl/ca-bundle.pem"
 
 if __name__ == '__main__':
     print(where())

Reply via email to