diff --git a/ifaddr-0.1.4.zip b/ifaddr-0.1.4.zip deleted file mode 100644 index ddc8a83..0000000 --- a/ifaddr-0.1.4.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b -size 13222 diff --git a/ifaddr-0.1.6.tar.gz b/ifaddr-0.1.6.tar.gz new file mode 100644 index 0000000..676b387 --- /dev/null +++ b/ifaddr-0.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93 +size 6526 diff --git a/python-ifaddr.changes b/python-ifaddr.changes index 1297ccd..b5cc8c1 100644 --- a/python-ifaddr.changes +++ b/python-ifaddr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 12 16:34:30 UTC 2019 - Tomáš Chvátal + +- Update to 0.1.6: + * Restrict ipaddress dependency to Python < 3.3 + * Fixes installation of ipaddress module + ------------------------------------------------------------------- Fri Nov 9 09:36:58 UTC 2018 - Jan Engelhardt diff --git a/python-ifaddr.spec b/python-ifaddr.spec index 11ce2c0..7845784 100644 --- a/python-ifaddr.spec +++ b/python-ifaddr.spec @@ -1,7 +1,7 @@ # # spec file for package python-ifaddr # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,30 +19,27 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ifaddr -Version: 0.1.4 +Version: 0.1.6 Release: 0 Summary: Module for enumerating IP addresses on system network adapters License: MIT Group: Development/Languages/Python -Url: https://github.com/pydron/ifaddr -Source: https://files.pythonhosted.org/packages/source/i/ifaddr/ifaddr-%{version}.zip +URL: https://github.com/pydron/ifaddr +Source: https://files.pythonhosted.org/packages/source/i/ifaddr/ifaddr-%{version}.tar.gz Source99: https://raw.githubusercontent.com/pydron/ifaddr/master/LICENSE.txt BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module pytest} -%ifpython2 -BuildRequires: %{oldpython}-ipaddress -%endif -# /SECTION BuildRequires: dos2unix BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: unzip +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: python-ipaddress +# /SECTION %ifpython2 Requires: %{oldpython}-ipaddress %endif -BuildArch: noarch - %python_subpackages %description @@ -51,8 +48,7 @@ IP addresses assigned to the system. %prep %setup -q -n ifaddr-%{version} -cp %{S:99} . -rm ifaddr.egg-info/requires.txt +cp %{SOURCE99} . sed -i -e "s/install_requires = \['ipaddress'\],//" setup.py dos2unix README.rst @@ -64,8 +60,7 @@ dos2unix README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -cd ifaddr -%python_expand py.test-%{$python_version} +%pytest ifaddr %files %{python_files} %doc README.rst