Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aiohttp_cors for
openSUSE:Factory checked in at 2022-08-20 20:27:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiohttp_cors (Old)
and /work/SRC/openSUSE:Factory/.python-aiohttp_cors.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp_cors"
Sat Aug 20 20:27:40 2022 rev:3 rq:998084 version:0.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiohttp_cors/python-aiohttp_cors.changes
2021-12-18 20:29:51.594229677 +0100
+++
/work/SRC/openSUSE:Factory/.python-aiohttp_cors.new.2083/python-aiohttp_cors.changes
2022-08-20 20:27:44.561199500 +0200
@@ -1,0 +2,5 @@
+Thu Aug 18 15:28:57 UTC 2022 - Ben Greiner <[email protected]>
+
+- Clean specfile, remove coverage
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiohttp_cors.spec ++++++
--- /var/tmp/diff_new_pack.BGoxVI/_old 2022-08-20 20:27:45.745202784 +0200
+++ /var/tmp/diff_new_pack.BGoxVI/_new 2022-08-20 20:27:45.753202807 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-aiohttp_cors
#
-# Copyright (c) 2021 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
@@ -41,16 +41,14 @@
Recommends: python-cChardet
Suggests: %{name}-doc
# SECTION test requirements
-BuildRequires: %{python_module aiohttp >= 1.1 }
+BuildRequires: %{python_module aiohttp >= 1.1}
BuildRequires: %{python_module async_timeout >= 2.0.0}
BuildRequires: %{python_module chardet}
BuildRequires: %{python_module gunicorn}
BuildRequires: %{python_module multidict >= 3.3.0}
-BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module pytest}
BuildRequires: %{python_module yarl >= 0.13.0}
# /SECTION
# SECTION docs
@@ -58,6 +56,7 @@
BuildRequires: python3-sphinxcontrib-asyncio
BuildRequires: python3-sphinxcontrib-newsfeed
# /SECTION
+BuildArch: noarch
%python_subpackages
%description
@@ -68,16 +67,16 @@
- Web-server has middleware and pluggable routing.
%prep
-%setup -q -n aiohttp-cors-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1 -n aiohttp-cors-%{version}
+# remove code coverage flags from pytest
+sed -i '/addopts/d' setup.cfg
%build
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests/unit
@@ -85,6 +84,7 @@
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
-%{python_sitelib}/aiohttp_cors*
+%{python_sitelib}/aiohttp_cors
+%{python_sitelib}/aiohttp_cors-%{version}*-info
%changelog