Hello community,

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

Package is "python-aspectlib"

Fri Mar 27 00:24:33 2020 rev:2 rq:785450 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aspectlib/python-aspectlib.changes        
2019-03-29 20:37:08.926629418 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aspectlib.new.3160/python-aspectlib.changes  
    2020-03-27 00:24:36.144235680 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 06:39:42 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-aspectlib.spec ++++++
--- /var/tmp/diff_new_pack.oB67oi/_old  2020-03-27 00:24:37.968236605 +0100
+++ /var/tmp/diff_new_pack.oB67oi/_new  2020-03-27 00:24:37.972236607 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aspectlib
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,40 +12,40 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 # Test requires network connection
 %bcond_with     test
-%define         oldpython python
 Name:           python-aspectlib
 Version:        1.4.2
 Release:        0
-License:        BSD-2-Clause
 Summary:        Aspect-oriented programming
-Url:            https://github.com/ionelmc/python-aspectlib
-Group:          Development/Languages/Python
+License:        BSD-2-Clause
+URL:            https://github.com/ionelmc/python-aspectlib
 Source:         
https://files.pythonhosted.org/packages/source/a/aspectlib/aspectlib-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-fields
+Recommends:     python-tornado
+BuildArch:      noarch
 %if %{with test}
 BuildRequires:  %{python_module fields}
 BuildRequires:  %{python_module process-tests}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado}
+%if %{with python2}
 BuildRequires:  python-mock
 BuildRequires:  python-trollius
 %endif
-BuildRequires:  fdupes
-Requires:       python-fields
-Recommends:     python-tornado
+%endif
 %ifpython2
-Requires:       %{oldpython}-trollius
+Requires:       python-trollius
 %endif
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -67,12 +67,12 @@
 
 %if %{with test}
 %check
-%python_expand py.test-%{$python_bin_suffix} -vv --ignore=src
+%pytest --ignore=src
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst
+%license LICENSE
+%doc AUTHORS.rst CHANGELOG.rst README.rst
 %{python_sitelib}/*
 
 %changelog


Reply via email to