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 2024-03-14 17:45:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosmtpd (Old)
and /work/SRC/openSUSE:Factory/.python-aiosmtpd.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiosmtpd"
Thu Mar 14 17:45:03 2024 rev:13 rq:1157868 version:1.4.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosmtpd/python-aiosmtpd.changes
2024-03-13 22:22:50.709713495 +0100
+++
/work/SRC/openSUSE:Factory/.python-aiosmtpd.new.1905/python-aiosmtpd.changes
2024-03-14 17:46:38.412877686 +0100
@@ -1,0 +2,6 @@
+Thu Mar 14 07:06:26 UTC 2024 - Matej Cepl <[email protected]>
+
+- Clean up the SPEC file.
+- Remove LICENSE-2.0.txt, it is now included in the tarball.
+
+-------------------------------------------------------------------
Old:
----
LICENSE-2.0.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiosmtpd.spec ++++++
--- /var/tmp/diff_new_pack.glVOFa/_old 2024-03-14 17:46:39.236909048 +0100
+++ /var/tmp/diff_new_pack.glVOFa/_new 2024-03-14 17:46:39.240909200 +0100
@@ -25,16 +25,13 @@
Group: Development/Languages/Python
URL: https://aiosmtpd.readthedocs.io/
Source:
https://github.com/aio-libs/aiosmtpd/archive/v%{version}.tar.gz#/aiosmtpd-%{version}.tar.gz
-Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
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: (python-typing_extensions if python-base < 3.8)
Requires: user(nobody)
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -44,10 +41,7 @@
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%{?python3_version_nodots} < 37
-BuildRequires: python3-typing_extensions
-%endif
+BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
BuildRequires: user(nobody)
# /SECTION
%python_subpackages
@@ -67,8 +61,10 @@
This package provides such an implementation of both the SMTP and LMTP
protocols.
%prep
-%setup -q -n aiosmtpd-%{version}
-cp %{SOURCE1} .
+%autosetup -p1 -n aiosmtpd-%{version}
+
+# Don't bother with the code coverage while packaging
+sed -i '/--cov=/d' pytest.ini
%build
%python_build
@@ -91,7 +87,7 @@
%files %{python_files}
%doc README.rst
-%license LICENSE-2.0.txt
+%license LICENSE
%python_alternative %{_bindir}/aiosmtpd
%{python_sitelib}/aiosmtpd
%{python_sitelib}/aiosmtpd-%{version}*-info