Hello community, here is the log from the commit of package python-certifi for openSUSE:Factory checked in at 2017-04-20 20:53:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certifi (Old) and /work/SRC/openSUSE:Factory/.python-certifi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certifi" Thu Apr 20 20:53:08 2017 rev:5 rq:487698 version:2017.1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certifi/python-certifi.changes 2016-06-14 23:08:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-certifi.new/python-certifi.changes 2017-04-20 20:53:11.009015132 +0200 @@ -1,0 +2,7 @@ +Sat Apr 8 17:51:03 UTC 2017 - [email protected] + +- Updated to version 2017.1.23 +- Converted to single-spec +- Updated source URL + +------------------------------------------------------------------- Old: ---- certifi-2016.2.28.tar.gz New: ---- certifi-2017.1.23.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certifi.spec ++++++ --- /var/tmp/diff_new_pack.LzrqLA/_old 2017-04-20 20:53:12.128856778 +0200 +++ /var/tmp/diff_new_pack.LzrqLA/_new 2017-04-20 20:53:12.128856778 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certifi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,29 +16,26 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certifi -Version: 2016.2.28 +Version: 2017.1.23 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 -Source: https://pypi.python.org/packages/source/c/certifi/certifi-%{version}.tar.gz +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 -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} -%if 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: ca-certificates +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: ca-certificates -%endif -%else +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%endif +%python_subpackages %description This installable Python package contains a CA Bundle that you can reference @@ -49,23 +46,24 @@ %prep %setup -q -n certifi-%{version} -%if 0%{?suse_version} && 0%{?suse_version} > 1110 %patch0 -p1 -%endif %build -python setup.py build +%python_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 +%python_install + +%{python_expand chmod +x %{buildroot}/%{$python_sitelib}/certifi/core.py + rm %{buildroot}/%{$python_sitelib}/certifi/cacert.pem + %fdupes -s %{buildroot}%{$python_sitelib} +} -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst LICENSE -%{python_sitelib}/* +%{python_sitelib}/certifi/ +%pycache_only %{python_sitelib}/certifi/__pycache__ +%{python_sitelib}/certifi-%{version}-py%{python_version}.egg-info %changelog ++++++ certifi-2016.2.28.tar.gz -> certifi-2017.1.23.tar.gz ++++++ ++++ 1780 lines of diff (skipped)
