diff --git a/pyroute2-0.6.13.tar.gz b/pyroute2-0.6.13.tar.gz deleted file mode 100644 index 473cd5d..0000000 --- a/pyroute2-0.6.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b03d49a581945fec2b1ec7d1d5125c6f40ba04ed11affc90c4caddc019e25792 -size 24412 diff --git a/pyroute2-0.7.3.tar.gz b/pyroute2-0.7.3.tar.gz new file mode 100644 index 0000000..c6f480b --- /dev/null +++ b/pyroute2-0.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7041040db1c2d187fbccd151485b1244c41d758be821785847946370eb6bb706 +size 408552 diff --git a/python-pyroute2.changes b/python-pyroute2.changes index bcf5dbd..ac2f342 100644 --- a/python-pyroute2.changes +++ b/python-pyroute2.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sat Oct 1 13:44:24 UTC 2022 - Dirk Müller + +- update to 0.7.3: + * nlsocket: CompileContext support + * nlsocket: support for per request parsers (see IPRoute.get_default_routes()) + * generic: added support for dumping policies <#981> + * ndb: changed API for reports + * conntrack: fix TCP states <#991> + * ipmock: new component (IPMock) for mock tests + * thermal: update + * ci: nlm_generator = True -- force using generators in the CI + * iproute: fix neighbours dump <#962> + * iproute: fix rule add <#964> + * setup: fix build-backend <#961> + * packaging: back to single package layout <#935> + * packaging: static version <#939> + * ci: use nox, finish migration from nose + * netlink: universal nlmsg.get() + ------------------------------------------------------------------- Wed Jul 6 12:33:36 UTC 2022 - Dirk Müller diff --git a/python-pyroute2.spec b/python-pyroute2.spec index ce394dc..f742b61 100644 --- a/python-pyroute2.spec +++ b/python-pyroute2.spec @@ -18,26 +18,34 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyroute2 -Version: 0.6.13 +Version: 0.7.3 Release: 0 Summary: Python Netlink library License: Apache-2.0 OR GPL-2.0-or-later URL: https://github.com/svinota/pyroute2 Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch -Requires: python-pyroute2.core = %{version} -Requires: python-pyroute2.ethtool = %{version} -Requires: python-pyroute2.ipdb = %{version} -Requires: python-pyroute2.ipset = %{version} -Requires: python-pyroute2.ndb = %{version} -Requires: python-pyroute2.nftables = %{version} -Requires: python-pyroute2.nslink = %{version} +Provides: python-pyroute2.core = %{version} +Obsoletes: python-pyroute2.core < %{version} +Provides: python-pyroute2.ethtool = %{version} +Obsoletes: python-pyroute2.ethtool < %{version} +Provides: python-pyroute2.ipdb = %{version} +Obsoletes: python-pyroute2.ipdb < %{version} +Provides: python-pyroute2.ipset = %{version} +Obsoletes: python-pyroute2.ipset < %{version} +Provides: python-pyroute2.ndb = %{version} +Obsoletes: python-pyroute2.ndb < %{version} +Provides: python-pyroute2.nftables = %{version} +Obsoletes: python-pyroute2.nftables < %{version} +Provides: python-pyroute2.nslink = %{version} +Obsoletes: python-pyroute2.nslink < %{version} %python_subpackages %description @@ -61,15 +69,24 @@ protocols. Some supported netlink families and protocols: %setup -q -n pyroute2-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/pyroute2-cli +%python_clone -a %{buildroot}%{_bindir}/pyroute2-dhcp-client +%python_clone -a %{buildroot}%{_bindir}/pyroute2-test-platform +%python_clone -a %{buildroot}%{_bindir}/ss2 + %files %{python_files} -%doc README.rst CHANGELOG.md -%license LICENSE.Apache.v2 LICENSE.GPL.v2 +%doc README.rst CHANGELOG.rst +%license LICENSE LICENSE.Apache-2.0 LICENSE.GPL-2.0-or-later +%python_alternative %{_bindir}/pyroute2-cli +%python_alternative %{_bindir}/pyroute2-dhcp-client +%python_alternative %{_bindir}/pyroute2-test-platform +%python_alternative %{_bindir}/ss2 %{python_sitelib}/* %changelog