Hello community,

here is the log from the commit of package python-cryptography for 
openSUSE:Factory checked in at 2018-01-20 11:26:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old)
 and      /work/SRC/openSUSE:Factory/.python-cryptography.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cryptography"

Sat Jan 20 11:26:01 2018 rev:34 rq:567426 version:2.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes  
2017-12-10 18:16:16.394543355 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cryptography.new/python-cryptography.changes 
    2018-01-20 11:26:13.245752294 +0100
@@ -1,0 +2,11 @@
+Thu Jan 18 13:30:12 UTC 2018 - tchva...@suse.com
+
+- Add proper conditional for the python2, the ifpython works only
+  for the requires/etc
+
+-------------------------------------------------------------------
+Tue Jan 16 10:14:37 UTC 2018 - dmuel...@suse.com
+
+- add missing dependency on python ssl
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.1f4wI5/_old  2018-01-20 11:26:14.525692437 +0100
+++ /var/tmp/diff_new_pack.1f4wI5/_new  2018-01-20 11:26:14.529692250 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cryptography
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-cryptography
 Version:        2.1.4
 Release:        0
@@ -52,7 +53,7 @@
 Requires:       python-setuptools >= 11.3
 Requires:       python-six >= 1.4.1
 %requires_eq    python-cffi
-%ifpython2
+%if %{with python2}
 BuildRequires:  python2-enum34
 BuildRequires:  python2-ipaddress
 %endif
@@ -66,6 +67,8 @@
 BuildRequires:  %{python_module virtualenv}
 # /SECTION
 %ifpython2
+# python-base is not enough, we need the _ssl module
+Requires:       python
 Requires:       python-enum34
 Requires:       python-ipaddress
 %endif
@@ -100,7 +103,6 @@
 %fdupes %{buildroot}%{_prefix}
 
 %check
-%if 0%{?suse_version} >= 1210
 %{python_expand # this is going to be fun
 # create virtualenv
 $python %{_bindir}/virtualenv --system-site-packages 
TESTROOT-%{$python_bin_suffix}
@@ -115,7 +117,6 @@
 # finish
 deactivate
 }
-%endif
 
 %files %{python_files}
 %doc LICENSE LICENSE.APACHE LICENSE.BSD




Reply via email to