update version to 0.7.3

This commit is contained in:
liqiuyu123 2022-12-06 15:37:05 +08:00
parent 40784e7757
commit 5017722c3c
5 changed files with 19 additions and 8 deletions

Binary file not shown.

BIN
pyroute2-0.7.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: python-pyroute2
Version: 0.5.14
Version: 0.7.3
Release: 1
Summary: Python Netlink library
License: dual license GPLv2+ and Apache v2
License: GPLv2+ and Apache-2.0
URL: https://github.com/svinota/pyroute2
Source0: https://files.pythonhosted.org/packages/0b/71/2920f854ef3cbb8472aa70539cf63fcc214e5c1b40f21c7cdb4910a6f5e9/pyroute2-0.5.14.tar.gz
Source0: https://files.pythonhosted.org/packages/9c/e6/8d163b1aea84223696fef8f8c55566adf166b79d614d602469d64af00226/pyroute2-0.7.3.tar.gz
Source1: setup.py
BuildArch: noarch
%description
Pyroute2 is a pure Python **netlink** library. The core requires only Python
stdlib, no 3rd party libraries. The library was started as an RTNL protocol
@ -16,7 +17,7 @@ protocols.
%package -n python3-pyroute2
Summary: Python Netlink library
Provides: python-pyroute2
Provides: python-pyroute2 = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-pyroute2
@ -32,7 +33,8 @@ Provides: python3-pyroute2-doc
Development documents and examples for pyroute2.
%prep
%autosetup -n pyroute2-0.5.14
%autosetup -n pyroute2-%{version}
cp %{SOURCE1} ./
%build
%py3_build
@ -68,10 +70,13 @@ mv %{buildroot}/doclist.lst .
%files -n python3-pyroute2 -f filelist.lst
%dir %{python3_sitelib}/*
%files help
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Dec 05 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.7.3-1
- Update package to version 0.7.3
* Fri Oct 23 2020 wutao <wutao61@huawei.com> - 0.5.14-1
- upgrade and disable python2 build

View File

@ -1,4 +1,4 @@
version_control: pypi
src_repo: pyroute2
tag_prefix: "^"
seperator: "."
separator: "."

6
setup.py Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env python
import setuptools
if __name__ == "__main__":
setuptools.setup()