Upgrade package with version 0.7.9

This commit is contained in:
desert-sailor 2023-07-17 11:39:53 +08:00
parent b82a48004b
commit 800adec776
3 changed files with 12 additions and 5 deletions

Binary file not shown.

BIN
pyroute2-0.7.9.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
%global srcname pyroute2 %global srcname pyroute2
Name: python-pyroute2 Name: python-pyroute2
Version: 0.7.3 Version: 0.7.9
Release: 3 Release: 1
Summary: Python Netlink library Summary: Python Netlink library
License: GPL-2.0-or-later and Apache-2.0 License: GPL-2.0-or-later and Apache-2.0
URL: https://github.com/svinota/pyroute2 URL: https://github.com/svinota/pyroute2
Source0: https://files.pythonhosted.org/packages/9c/e6/8d163b1aea84223696fef8f8c55566adf166b79d614d602469d64af00226/pyroute2-0.7.3.tar.gz Source0: https://files.pythonhosted.org/packages/f9/f4/5aa161de059353367a3505a8647f475d11f5ce2af4d2375651a2166a1ef3/pyroute2-0.7.9.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -42,7 +42,7 @@ Development documents and examples for pyroute2.
%pyproject_build %pyproject_build
%install %install
%pyproject_install pyroute2==%{version} %pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -50,16 +50,23 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-pyroute2 %files -n python3-pyroute2
%{python3_sitelib}/* %license LICENSE*
%doc README*
%{_bindir}/ss2 %{_bindir}/ss2
%{_bindir}/%{srcname}-cli %{_bindir}/%{srcname}-cli
%{_bindir}/%{srcname}-dhcp-client %{_bindir}/%{srcname}-dhcp-client
%{_bindir}/%{srcname}-test-platform %{_bindir}/%{srcname}-test-platform
%{python3_sitelib}/pr2modules
%{python3_sitelib}/pyroute2
%{python3_sitelib}/pyroute2*.dist-info/
%files help %files help
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Jul 17 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.7.9-1
- Update package to version 0.7.9
* Fri May 05 2023 wangkai <13474090681@163.com> - 0.7.3-3 * Fri May 05 2023 wangkai <13474090681@163.com> - 0.7.3-3
- Compling package with pyproject - Compling package with pyproject