diff --git a/pyroute2-0.4.15.tar.gz b/pyroute2-0.4.15.tar.gz deleted file mode 100644 index 7ec55a8..0000000 --- a/pyroute2-0.4.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:273530e78261ac5e9e2985f12fad9e6c4231f8e49b8c285c05a23dcda5afce58 -size 560037 diff --git a/pyroute2-0.4.17.tar.gz b/pyroute2-0.4.17.tar.gz new file mode 100644 index 0000000..5c72ed8 --- /dev/null +++ b/pyroute2-0.4.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae522eaf46281df32f54632b1015b02f650304d5107e56b96912fb7cf1734e6 +size 567014 diff --git a/python-pyroute2.changes b/python-pyroute2.changes index 93fac49..89d2753 100644 --- a/python-pyroute2.changes +++ b/python-pyroute2.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Jul 10 07:03:26 UTC 2017 - tbechtold@suse.com + +- update to 0.4.17: + * req: #374 [critical] -- mode nla init + * iproute: #378 [critical] -- fix `flush_routes()` to respect filters + * ifinfmsg: #376 -- fix data plugins API to support pyinstaller + * ipdb: race fixed: remove port/bridge + * ipdb: #280 -- race fixed: port/bridge + * ipdb: #302 -- ipaddr views: [ifname].ipaddr.ipv4, [ifname]ipaddr.ipv6 + * ipdb: #357 -- allow bridge timings to have some delta + * ipdb: #338 -- allow to fix interface objects from failed `create()` + * rtnl: #336 -- fix vlan flags + * iproute: #342 -- the match method takes any callable + * nlsocket: #367 -- increase default SO_SNDBUF + * ifinfmsg: support tuntap on armv6l, armv7l platforms +- convert to singlespec + ------------------------------------------------------------------- Tue Jun 13 09:49:31 UTC 2017 - dmueller@suse.com diff --git a/python-pyroute2.spec b/python-pyroute2.spec index f913072..d0c1525 100644 --- a/python-pyroute2.spec +++ b/python-pyroute2.spec @@ -16,21 +16,21 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyroute2 -Version: 0.4.15 +Version: 0.4.17 Release: 0 Summary: Python Netlink library License: GPL-2.0+ or Apache-2.0 Group: Development/Languages/Python Url: https://github.com/svinota/pyroute2 -Source: https://pypi.io/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz -BuildRequires: python-devel +Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description Pyroute2 is a pure Python **netlink** and Linux **network configuration** @@ -55,12 +55,12 @@ The library provides several modules: %setup -q -n pyroute2-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.make.md README.packages.md README.md LICENSE.Apache.v2 CHANGELOG.md LICENSE.GPL.v2 README.license.md %{python_sitelib}/*