Hello community,

here is the log from the commit of package python-paramiko for openSUSE:Factory 
checked in at 2017-04-28 15:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-paramiko (Old)
 and      /work/SRC/openSUSE:Factory/.python-paramiko.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-paramiko"

Fri Apr 28 15:23:17 2017 rev:33 rq:489399 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-paramiko/python-paramiko.changes  
2017-04-06 11:00:46.511243892 +0200
+++ /work/SRC/openSUSE:Factory/.python-paramiko.new/python-paramiko.changes     
2017-04-28 15:23:18.534578204 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 17:24:58 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-paramiko.spec ++++++
--- /var/tmp/diff_new_pack.KOyfw6/_old  2017-04-28 15:23:19.462447241 +0200
+++ /var/tmp/diff_new_pack.KOyfw6/_new  2017-04-28 15:23:19.466446678 +0200
@@ -16,6 +16,9 @@
 #
 
 
+%bcond_without test
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-paramiko
 Version:        2.1.2
 Release:        0
@@ -23,15 +26,18 @@
 Summary:        SSH2 protocol library
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
-Source:         
https://pypi.io/packages/source/p/paramiko/paramiko-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-cryptography >= 1.1
-BuildRequires:  python-devel
-BuildRequires:  python-pyasn1 >= 0.1.7
-BuildRequires:  python-setuptools
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module cryptography >= 1.1}
+BuildRequires:  %{python_module pyasn1 >= 0.1.7}
 Requires:       python-cryptography >= 1.1
 Requires:       python-pyasn1 >= 0.1.7
 BuildArch:      noarch
+%python_subpackages
 
 %description
 This is a library for making SSH2 connections (client or server).
@@ -43,20 +49,22 @@
 %setup -q -n paramiko-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
-# The --no-transport fixes a known issue with the tests
-# https://github.com/paramiko/paramiko/issues/574
-# Check if still failing on next release
-LANG=en_US.UTF-8 python test.py --no-transport
+export LANG=en_US.UTF-8
+%python_exec test.py
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
-%doc LICENSE README.rst demos
+%doc LICENSE README.rst
+%doc demos/
 %{python_sitelib}/*
 
 %changelog


Reply via email to