Hello community,

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

Package is "python-Fabric"

Mon Jan 22 16:20:56 2018 rev:28 rq:568107 version:1.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Fabric/python-Fabric.changes      
2017-10-07 17:51:56.799924837 +0200
+++ /work/SRC/openSUSE:Factory/.python-Fabric.new/python-Fabric.changes 
2018-01-22 16:22:20.631198588 +0100
@@ -1,0 +2,8 @@
+Mon Jan 22 11:15:30 UTC 2018 - tchva...@suse.com
+
+- Add skip_python3 as it is not compatible at all, fixes bsc#1073564
+- Drop the Sphinx dep as we can't generate the deps because of py3
+  incompatibility
+- Run fdupes on install
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Fabric.spec ++++++
--- /var/tmp/diff_new_pack.4lyL18/_old  2018-01-22 16:22:21.159173894 +0100
+++ /var/tmp/diff_new_pack.4lyL18/_new  2018-01-22 16:22:21.159173894 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Fabric
 #
-# 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
@@ -16,8 +16,8 @@
 #
 
 
-%bcond_with test
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python3 1
 Name:           python-Fabric
 Version:        1.14.0
 Release:        0
@@ -26,23 +26,14 @@
 Group:          Development/Languages/Python
 Url:            http://fabfile.org
 Source:         
https://files.pythonhosted.org/packages/source/F/Fabric/Fabric-%{version}.tar.gz
-# Test requirements:
-#TODO: Disabled due to errors / fudge requirement
-#BuildRequires:  python-fudge
-#BuildRequires:  python-nose
-# Documentation requirements:
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module paramiko >= 1.10}
-BuildRequires:  %{python_module setuptools}
-%if %{with test}
-# SECTION test requirements
 BuildRequires:  %{python_module Jinja2}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module fudge}
 BuildRequires:  %{python_module nose}
-# /SECTION
-%endif
+BuildRequires:  %{python_module paramiko >= 1.10}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-Sphinx
 Requires:       python-paramiko >= 1.10
 Requires:       python-setuptools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -66,24 +57,23 @@
 
 %prep
 %setup -q -n Fabric-%{version}
+sed -i 's/paramiko>=1.10,<2.0/paramiko>=1.10/g' setup.py # new paramiko is okay
 sed -i "s|fudge<1.0|fudge|" setup.py # Try testing with newer fudge
 
 %build
 %python_build
-python3 setup.py build_sphinx --source-dir=sites/docs && rm -r 
build/sphinx/html/.buildinfo && mv build/sphinx/html html
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_exec setup.py test
-%endif
+# Breaks on the raise tests completely even in git
+#%%python_exec setup.py test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst html
-%python3_only %{_bindir}/fab
+%doc AUTHORS LICENSE README.rst
+%python2_only %{_bindir}/fab
 %{python_sitelib}/*
 
 %changelog


Reply via email to