From 06ccc496458e543f9bb7d9b0837f41ade9dc8202ed13c2a7085a8254e0f0badf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 21 Jan 2021 11:52:11 +0000 Subject: [PATCH] spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=2 --- python-pyipp.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/python-pyipp.spec b/python-pyipp.spec index 0de7be4..705898e 100644 --- a/python-pyipp.spec +++ b/python-pyipp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyipp # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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-%{**}} @@ -21,23 +22,22 @@ Name: python-pyipp Version: 0.11.0 Release: 0 -License: MIT Summary: Asynchronous Python client for Internet Printing Protocol (IPP) -Url: https://github.com/ctalkington/python-ipp +License: MIT Group: Development/Languages/Python +URL: https://github.com/ctalkington/python-ipp Source: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module aiohttp >= 3.6.2} BuildRequires: %{python_module deepmerge >= 0.1.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module yarl >= 1.4.2} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-aiohttp >= 3.6.2 Requires: python-deepmerge >= 0.1.0 Requires: python-yarl >= 1.4.2 BuildArch: noarch - %python_subpackages %description @@ -47,7 +47,6 @@ Asynchronous Python client for Internet Printing Protocol (IPP). %setup -q -n python-ipp-%{version} rm tests/test_client.py tests/test_interface.py - %build %python_build