diff --git a/pyroute2-0.5.3.tar.gz b/pyroute2-0.5.3.tar.gz deleted file mode 100644 index 8b04197..0000000 --- a/pyroute2-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79f7b4286be773c46914df0201dabaf92717a9c06e341e0c420603b2dd31c6bf -size 687019 diff --git a/pyroute2-0.5.4.tar.gz b/pyroute2-0.5.4.tar.gz new file mode 100644 index 0000000..0a2acfd --- /dev/null +++ b/pyroute2-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c910aa9876268c810fdb5246705690833cd1f781556c12845c28a1449124df70 +size 694768 diff --git a/python-pyroute2.changes b/python-pyroute2.changes index 763f49b..8767cc7 100644 --- a/python-pyroute2.changes +++ b/python-pyroute2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Mar 4 11:51:42 UTC 2019 - Tomáš Chvátal + +- Update to 0.5.4: + * iproute: basic SR-IOV support, virtual functions setup + * ipdb: shutdown logging fixed + * ipset: fix regression + * netns: pushns() / popns() / dropns() calls + ------------------------------------------------------------------- Tue Dec 4 12:52:45 UTC 2018 - Matej Cepl diff --git a/python-pyroute2.spec b/python-pyroute2.spec index 19ef770..1657e64 100644 --- a/python-pyroute2.spec +++ b/python-pyroute2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyroute2 # -# 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 @@ -18,19 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyroute2 -Version: 0.5.3 +Version: 0.5.4 Release: 0 Summary: Python Netlink library License: GPL-2.0-or-later OR Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/svinota/pyroute2 +URL: https://github.com/svinota/pyroute2 Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -60,9 +59,13 @@ protocols. Some supported netlink families and protocols: %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# tests require root access +#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v + %files %{python_files} -%defattr(-,root,root,-) -%doc README.md CHANGELOG.md README.license.md README.report.md +%license README.license.md +%doc README.md CHANGELOG.md README.report.md %license LICENSE.Apache.v2 LICENSE.GPL.v2 %{python_sitelib}/* %python3_only %{_bindir}/ss2