From d1fe9c3d3b2c21dfc0d1901c6003deef9f8d07b55f9ad9c2049896882f1069a8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 13:49:37 +0000 Subject: [PATCH 1/2] Fix %pytest call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioftp?expand=0&rev=3 --- python-aioftp.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-aioftp.spec b/python-aioftp.spec index 8a2605d..343d4c2 100644 --- a/python-aioftp.spec +++ b/python-aioftp.spec @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,19 +21,19 @@ Name: python-aioftp Version: 0.13.0 Release: 0 -License: Apache-2.0 Summary: FTP client/server for asyncio -Url: https://github.com/aio-libs/aioftp +License: Apache-2.0 Group: Development/Languages/Python +Url: https://github.com/aio-libs/aioftp Source: https://files.pythonhosted.org/packages/source/a/aioftp/aioftp-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module async_timeout} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module trustme} # /SECTION BuildArch: noarch From 3e35eefc57d73a2f0fc647434af7c97e6c369e71dc5a9c25febcb5a9307a299b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Nov 2019 16:12:30 +0000 Subject: [PATCH 2/2] Run through spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioftp?expand=0&rev=4 --- python-aioftp.changes | 5 +++++ python-aioftp.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-aioftp.changes b/python-aioftp.changes index 8265e70..557c8d5 100644 --- a/python-aioftp.changes +++ b/python-aioftp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 7 16:12:05 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + ------------------------------------------------------------------- Tue Jul 23 17:00:03 UTC 2019 - Todd R diff --git a/python-aioftp.spec b/python-aioftp.spec index 343d4c2..6b638cd 100644 --- a/python-aioftp.spec +++ b/python-aioftp.spec @@ -23,12 +23,12 @@ Version: 0.13.0 Release: 0 Summary: FTP client/server for asyncio License: Apache-2.0 -Group: Development/Languages/Python -Url: https://github.com/aio-libs/aioftp +URL: https://github.com/aio-libs/aioftp Source: https://files.pythonhosted.org/packages/source/a/aioftp/aioftp-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module async_timeout} BuildRequires: %{python_module pytest-asyncio} @@ -36,8 +36,6 @@ BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module trustme} # /SECTION -BuildArch: noarch - %python_subpackages %description