From 9431387db902d085e7d4921ba9e9577736812ed38db85f4b1ee6aa06bf656dd1 Mon Sep 17 00:00:00 2001 From: Petr Cervinka Date: Fri, 9 Nov 2018 12:35:50 +0000 Subject: [PATCH] Accepting request 647537 from home:jengelh:branches:devel:languages:python - Use noun phrase. OBS-URL: https://build.opensuse.org/request/show/647537 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ifaddr?expand=0&rev=2 --- python-ifaddr.changes | 5 +++++ python-ifaddr.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-ifaddr.changes b/python-ifaddr.changes index 7732115..1297ccd 100644 --- a/python-ifaddr.changes +++ b/python-ifaddr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 9 09:36:58 UTC 2018 - Jan Engelhardt + +- Use noun phrase. + ------------------------------------------------------------------- Fri Nov 2 20:09:04 UTC 2018 - alarrosa@suse.com diff --git a/python-ifaddr.spec b/python-ifaddr.spec index 5980912..11ce2c0 100644 --- a/python-ifaddr.spec +++ b/python-ifaddr.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/ +# %define oldpython python @@ -20,23 +21,23 @@ Name: python-ifaddr Version: 0.1.4 Release: 0 +Summary: Module for enumerating IP addresses on system network adapters License: MIT -Summary: Enumerates all IP addresses on all network adapters of the system -Url: https://github.com/pydron/ifaddr Group: Development/Languages/Python +Url: https://github.com/pydron/ifaddr Source: https://files.pythonhosted.org/packages/source/i/ifaddr/ifaddr-%{version}.zip Source99: https://raw.githubusercontent.com/pydron/ifaddr/master/LICENSE.txt -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} %ifpython2 BuildRequires: %{oldpython}-ipaddress %endif # /SECTION -BuildRequires: unzip BuildRequires: dos2unix BuildRequires: fdupes +BuildRequires: unzip %ifpython2 Requires: %{oldpython}-ipaddress %endif @@ -45,8 +46,8 @@ BuildArch: noarch %python_subpackages %description -ifaddr is a small Python library that allows you to find all the -IP addresses of the computer. +ifaddr is a Python library that allows finding the +IP addresses assigned to the system. %prep %setup -q -n ifaddr-%{version} @@ -55,7 +56,6 @@ rm ifaddr.egg-info/requires.txt sed -i -e "s/install_requires = \['ipaddress'\],//" setup.py dos2unix README.rst - %build %python_build