Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-buttplug for openSUSE:Factory
checked in at 2021-01-22 21:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-buttplug (Old)
and /work/SRC/openSUSE:Factory/.python-buttplug.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-buttplug"
Fri Jan 22 21:52:03 2021 rev:3 rq:865452 version:0.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-buttplug/python-buttplug.changes
2020-11-25 19:30:28.222563380 +0100
+++
/work/SRC/openSUSE:Factory/.python-buttplug.new.28504/python-buttplug.changes
2021-01-22 21:52:33.713869322 +0100
@@ -1,0 +2,5 @@
+Thu Jan 21 14:55:46 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- Fix build with python36
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-buttplug.spec ++++++
--- /var/tmp/diff_new_pack.p0P42o/_old 2021-01-22 21:52:34.293870145 +0100
+++ /var/tmp/diff_new_pack.p0P42o/_new 2021-01-22 21:52:34.293870145 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-buttplug
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define packagename buttplug-py
Name: python-buttplug
@@ -26,18 +27,18 @@
URL: https://github.com/buttplugio/buttplug-py/
Source:
https://github.com/buttplugio/buttplug-py/archive/%{version}.tar.gz#/%{packagename}-%{version}.tar.gz
BuildRequires: %{python_module pytest >= 4.0}
-BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module websockets >= 7.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-setuptools
+BuildRequires: ((python3-dataclasses and python3-base < 3.7) or
(python36-dataclasses and python36-base))
Requires: python-websockets
BuildArch: noarch
-%if 0%{?suse_version} <= 1520
-BuildRequires: %{python_module dataclasses}
+%if 0%{?suse_version} >= 1550
+# pytest-asyncio needs pytest6 now
+BuildRequires: %{python_module pytest-asyncio}
%endif
-%if 0%{?suse_version} <= 1520
+%if 0%{?python_version_nodots} < 37
Requires: python-dataclasses
%endif
%python_subpackages