Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aiosmtpd for openSUSE:Factory
checked in at 2021-05-04 22:01:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosmtpd (Old)
and /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiosmtpd"
Tue May 4 22:01:20 2021 rev:5 rq:890393 version:1.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosmtpd/python-aiosmtpd.changes
2021-03-28 11:56:33.812234646 +0200
+++
/work/SRC/openSUSE:Factory/.python-aiosmtpd.new.2988/python-aiosmtpd.changes
2021-05-04 22:01:33.508472303 +0200
@@ -1,0 +2,7 @@
+Tue May 4 10:15:40 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update runtime and build requirements
+- Skip a failing test, which is marked xfail anyway but too late
+- Exclude docs install into sitelib directory
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiosmtpd.spec ++++++
--- /var/tmp/diff_new_pack.lklyIm/_old 2021-05-04 22:01:33.932470709 +0200
+++ /var/tmp/diff_new_pack.lklyIm/_new 2021-05-04 22:01:33.936470694 +0200
@@ -16,7 +16,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-aiosmtpd
Version: 1.4.2
@@ -32,14 +32,25 @@
BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: python-atpublic
+Requires: python-attrs
+%if 0%{python_version_nodots} < 38
+Requires: python-typing_extensions
+%endif
Requires: user(nobody)
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module atpublic}
+BuildRequires: %{python_module attrs}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
+# this package is used in projects which do not support boolean python_module
BuildRequires yet :(
+%if 0%{?suse_version} >= 1550
+BuildRequires: python36-typing_extensions
+%else
+BuildRequires: python3-typing_extensions
+%endif
BuildRequires: user(nobody)
# /SECTION
%python_subpackages
@@ -60,7 +71,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+# https://github.com/aio-libs/aiosmtpd/issues/268
+donttest="(test_byclient and login and False)"
+%pytest -k "not ($donttest)"
%post
%python_install_alternative aiosmtpd
@@ -72,6 +85,8 @@
%doc README.rst
%license LICENSE-2.0.txt
%python_alternative %{_bindir}/aiosmtpd
-%{python_sitelib}/*
+%{python_sitelib}/aiosmtpd
+%{python_sitelib}/aiosmtpd-%{version}*-info
+%exclude %{python_sitelib}/aiosmtpd/docs
%changelog