Hello community,

here is the log from the commit of package python-python-redmine for 
openSUSE:Leap:15.2 checked in at 2020-04-30 18:51:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-python-redmine (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-python-redmine.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-redmine"

Thu Apr 30 18:51:57 2020 rev:2 rq:796341 version:2.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-python-redmine/python-python-redmine.changes
    2020-02-21 23:50:16.544676656 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-redmine.new.2738/python-python-redmine.changes
  2020-04-30 18:51:57.700664531 +0200
@@ -1,0 +2,6 @@
+Mon Apr 20 10:04:26 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix the runtime dependencies
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-redmine.spec ++++++
--- /var/tmp/diff_new_pack.12cZom/_old  2020-04-30 18:51:58.012665191 +0200
+++ /var/tmp/diff_new_pack.12cZom/_new  2020-04-30 18:51:58.012665191 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-redmine
 #
-# Copyright (c) 2018 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,10 +12,12 @@
 # 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
 Name:           python-python-redmine
 Version:        2.2.1
 Release:        0
@@ -26,14 +28,16 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/python-redmine/python-redmine-%{version}.tar.gz
 Patch0:         python-python-redmine-use-system-requests.patch
 BuildRequires:  %{python_module coverage}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module requests >= 2.20.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-requests
 BuildRequires:  python-rpm-macros
+Requires:       python-requests >= 2.20.0
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-mock
+%endif
 %python_subpackages
 
 %description
@@ -52,7 +56,6 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/redminelib/packages/
 
 %check
 %python_exec setup.py test


Reply via email to