diff --git a/pyroute2-0.7.3.tar.gz b/pyroute2-0.7.3.tar.gz deleted file mode 100644 index c48e595..0000000 Binary files a/pyroute2-0.7.3.tar.gz and /dev/null differ diff --git a/pyroute2-0.7.9.tar.gz b/pyroute2-0.7.9.tar.gz new file mode 100644 index 0000000..9a116d0 Binary files /dev/null and b/pyroute2-0.7.9.tar.gz differ diff --git a/python-pyroute2.spec b/python-pyroute2.spec index 4bfd8b5..56742b9 100644 --- a/python-pyroute2.spec +++ b/python-pyroute2.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 %global srcname pyroute2 Name: python-pyroute2 -Version: 0.7.3 -Release: 3 +Version: 0.7.9 +Release: 1 Summary: Python Netlink library License: GPL-2.0-or-later and Apache-2.0 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 %description @@ -42,7 +42,7 @@ Development documents and examples for pyroute2. %pyproject_build %install -%pyproject_install pyroute2==%{version} +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{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 %files -n python3-pyroute2 -%{python3_sitelib}/* +%license LICENSE* +%doc README* %{_bindir}/ss2 %{_bindir}/%{srcname}-cli %{_bindir}/%{srcname}-dhcp-client %{_bindir}/%{srcname}-test-platform +%{python3_sitelib}/pr2modules +%{python3_sitelib}/pyroute2 +%{python3_sitelib}/pyroute2*.dist-info/ %files help %{_docdir}/* %changelog +* Mon Jul 17 2023 Dongxing Wang - 0.7.9-1 +- Update package to version 0.7.9 + * Fri May 05 2023 wangkai <13474090681@163.com> - 0.7.3-3 - Compling package with pyproject