Hello community,

here is the log from the commit of package python-aspectlib for 
openSUSE:Leap:15.2 checked in at 2020-03-29 14:55:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-aspectlib (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-aspectlib.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aspectlib"

Sun Mar 29 14:55:43 2020 rev:2 rq:789130 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-aspectlib/python-aspectlib.changes      
2020-02-22 17:52:03.265724369 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-aspectlib.new.3160/python-aspectlib.changes
    2020-03-29 14:55:44.335160057 +0200
@@ -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.OUcOqE/_old  2020-03-29 14:55:44.779160403 +0200
+++ /var/tmp/diff_new_pack.OUcOqE/_new  2020-03-29 14:55:44.779160403 +0200
@@ -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