!13 Update package
From: @liqiuyu123 Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
e7174488c7
Binary file not shown.
BIN
pyroute2-0.7.3.tar.gz
Normal file
BIN
pyroute2-0.7.3.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,14 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-pyroute2
|
Name: python-pyroute2
|
||||||
Version: 0.5.14
|
Version: 0.7.3
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python Netlink library
|
Summary: Python Netlink library
|
||||||
License: dual license GPLv2+ and Apache v2
|
License: GPLv2+ and Apache-2.0
|
||||||
URL: https://github.com/svinota/pyroute2
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pyroute2 is a pure Python **netlink** library. The core requires only Python
|
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
|
stdlib, no 3rd party libraries. The library was started as an RTNL protocol
|
||||||
@ -16,7 +17,7 @@ protocols.
|
|||||||
|
|
||||||
%package -n python3-pyroute2
|
%package -n python3-pyroute2
|
||||||
Summary: Python Netlink library
|
Summary: Python Netlink library
|
||||||
Provides: python-pyroute2
|
Provides: python-pyroute2 = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-pyroute2
|
%description -n python3-pyroute2
|
||||||
@ -32,7 +33,8 @@ Provides: python3-pyroute2-doc
|
|||||||
Development documents and examples for pyroute2.
|
Development documents and examples for pyroute2.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pyroute2-0.5.14
|
%autosetup -n pyroute2-%{version}
|
||||||
|
cp %{SOURCE1} ./
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -68,10 +70,13 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%files -n python3-pyroute2 -f filelist.lst
|
%files -n python3-pyroute2 -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files help
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Oct 23 2020 wutao <wutao61@huawei.com> - 0.5.14-1
|
||||||
- upgrade and disable python2 build
|
- upgrade and disable python2 build
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: pypi
|
version_control: pypi
|
||||||
src_repo: pyroute2
|
src_repo: pyroute2
|
||||||
tag_prefix: "^"
|
tag_prefix: "^"
|
||||||
seperator: "."
|
separator: "."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user