Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Flask-Mail for openSUSE:Factory checked in at 2022-03-21 20:13:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Flask-Mail (Old) and /work/SRC/openSUSE:Factory/.python-Flask-Mail.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Mail" Mon Mar 21 20:13:11 2022 rev:3 rq:963718 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Flask-Mail/python-Flask-Mail.changes 2020-06-11 10:17:29.749622603 +0200 +++ /work/SRC/openSUSE:Factory/.python-Flask-Mail.new.25692/python-Flask-Mail.changes 2022-03-21 20:13:30.608528609 +0100 @@ -1,0 +2,8 @@ +Mon Mar 21 09:15:18 UTC 2022 - pgaj...@suse.com + +- use %pyunittest rpm macro +- added patches + do not use mock, upstream url unavailable + + python-Flask-Mail-no-mock.patch + +------------------------------------------------------------------- New: ---- python-Flask-Mail-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Flask-Mail.spec ++++++ --- /var/tmp/diff_new_pack.JQzX4f/_old 2022-03-21 20:13:31.092529076 +0100 +++ /var/tmp/diff_new_pack.JQzX4f/_new 2022-03-21 20:13:31.096529080 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Flask-Mail # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,13 +25,14 @@ Group: Development/Languages/Python URL: https://github.com/rduplain/flask-mail Source: https://files.pythonhosted.org/packages/source/F/Flask-Mail/Flask-Mail-%{version}.tar.gz +# do not use mock, upstream url unavailable +Patch0: python-Flask-Mail-no-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # Test requirements BuildRequires: %{python_module Flask} BuildRequires: %{python_module blinker} -BuildRequires: %{python_module mock} BuildRequires: %{python_module speaklater} # End of test requirements Requires: python-Flask @@ -44,6 +45,7 @@ %prep %setup -q -n Flask-Mail-%{version} +%patch0 -p1 %build %python_build @@ -53,7 +55,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m unittest discover +%pyunittest -v %files %{python_files} %doc README.rst ++++++ python-Flask-Mail-no-mock.patch ++++++ Index: Flask-Mail-0.9.1/tests.py =================================================================== --- Flask-Mail-0.9.1.orig/tests.py 2014-09-29 01:27:04.000000000 +0200 +++ Flask-Mail-0.9.1/tests.py 2022-03-21 10:13:27.500302484 +0100 @@ -7,7 +7,7 @@ import email import unittest import time import re -import mock +import unittest.mock as mock from contextlib import contextmanager from email.header import Header