Hello community,

here is the log from the commit of package python-fasteners for 
openSUSE:Factory checked in at 2020-03-27 00:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fasteners (Old)
 and      /work/SRC/openSUSE:Factory/.python-fasteners.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fasteners"

Fri Mar 27 00:25:41 2020 rev:8 rq:785576 version:0.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fasteners/python-fasteners.changes        
2020-01-01 14:58:25.677935163 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fasteners.new.3160/python-fasteners.changes  
    2020-03-27 00:25:43.584269842 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 10:34:29 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-fasteners.spec ++++++
--- /var/tmp/diff_new_pack.WYz99v/_old  2020-03-27 00:25:44.376270243 +0100
+++ /var/tmp/diff_new_pack.WYz99v/_new  2020-03-27 00:25:44.380270245 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fasteners
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,24 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
+%bcond_without python2
 Name:           python-fasteners
 Version:        0.14.1
 Release:        0
 Summary:        A python package that provides useful locks
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/harlowja/fasteners
 Source:         
https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
+BuildRequires:  %{python_module monotonic >= 0.1}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module testtools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-monotonic >= 0.1
 Requires:       python-six
 BuildArch:      noarch
-%if %{with tests}
-BuildRequires:  %{python_module monotonic >= 0.1}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module testtools}
+%if %{with python2}
 BuildRequires:  python-futures
 %endif
 %python_subpackages
@@ -58,14 +57,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
-pushd fasteners/tests
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} ./
-}
-popd
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE


Reply via email to