From 658a068ff587e33888bb83837099cfd5aeb7e147 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 27 2023 18:00:05 +0000 Subject: Update to 0.7.3 It's required for neutron, see [1]. [1] https://review.rdoproject.org/r/c/rdoinfo/+/46734 Related-to: https://review.rdoproject.org/r/q/Ifd4ae9228163345d7d771902f7464f025d200ecf --- diff --git a/.python-pyroute2.metadata b/.python-pyroute2.metadata new file mode 100644 index 0000000..102a3bc --- /dev/null +++ b/.python-pyroute2.metadata @@ -0,0 +1 @@ +5ff7a1f1e20b614f9308c8afa008907245aebd1b SOURCES/pyroute2-0.7.3.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-pyroute2.spec b/SPECS/python-pyroute2.spec new file mode 100644 index 0000000..569e3b1 --- /dev/null +++ b/SPECS/python-pyroute2.spec @@ -0,0 +1,265 @@ +%global srcname pyroute2 + +%{!?python3_pkgversion:%global python3_pkgversion 3} + +# FIXME(hguemar): Fix for EL7, in summary +# Fedora => python3 only +# EL7 => python2 only +# EL>7 => python3 only + +Name: python-%{srcname} +Version: 0.7.3 +Release: 1%{?dist} +Summary: Pure Python netlink library +License: GPLv2+ +URL: https://github.com/svinota/%{srcname} + +BuildArch: noarch +Source0: %{pypi_source pyroute2} + +%description +PyRoute2 provides several levels of API to work with Netlink +protocols, such as Generic Netlink, RTNL, TaskStats, NFNetlink, +IPQ. + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: pyproject-rpm-macros +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%description -n python%{python3_pkgversion}-%{srcname} +PyRoute2 provides several levels of API to work with Netlink +protocols, such as Generic Netlink, RTNL, TaskStats, NFNetlink, +IPQ. + + +%prep +%setup -q -n %{srcname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files pyroute2 + +%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} +%{_bindir}/ss2 +%{_bindir}/%{srcname}-cli +%{_bindir}/%{srcname}-dhcp-client +%{_bindir}/%{srcname}-test-platform +%doc README* +%license LICENSE.GPL-2.0-or-later LICENSE.Apache-2.0 +%{python3_sitelib}/pr2modules + +%changelog +* Thu Jan 26 2023 Alfredo Moralejo - 0.7.3-1 +- Update to 0.7.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.6.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.6.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 20 2022 Python Maint - 0.6.12-2 +- Rebuilt for Python 3.11 + +* Fri Jun 17 2022 François Rigault - 0.6.12-1 +- Update to 0.6.12 +- #2094986 + +* Mon Jun 13 2022 Python Maint - 0.6.9-2 +- Rebuilt for Python 3.11 + +* Wed Apr 20 2022 Karolina Kula - 0.6.9-1 +- Update to 0.6.9 + +* Tue Jan 18 2022 Alfredo Moralejo - 0.6.5-2 +- Added requirement on imporlib-metadata for CS8 + +* Fri Jan 14 2022 Alfredo Moralejo - 0.6.5-1 +- Update to 0.6.5 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.5.14-2 +- Rebuilt for Python 3.10 + +* Fri Feb 19 2021 Yatin Karel - 0.5.14-1 +- Update to 0.5.14 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 0.5.6-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Oct 11 2019 Yatin Karel - 0.5.6-1 +- Update to 0.5.6 + +* Thu Oct 03 2019 Miro Hrončok - 0.5.3-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 26 2019 Miro Hrončok - 0.5.3-6 +- Subpackage python2-pyroute2 has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Aug 17 2019 Miro Hrončok - 0.5.3-5 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Feb 06 2019 Alfredo Moralejo - 0.5.3-3 +- Fix build in CentOS7. + +* Sat Feb 02 2019 Fedora Release Engineering - 0.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Oct 07 2018 Slawek Kaplonski 0.5.3-1 +- Update to 0.5.3 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Miro Hrončok - 0.5.2-2 +- Rebuilt for Python 3.7 + +* Thu Jun 21 2018 Haïkel Guémar - 0.5.2-1 +- Upstream 0.5.2 (includes previous deprecated async arg patch) + +* Mon Jun 18 2018 Miro Hrončok - 0.4.21-3 +- Rebuilt for Python 3.7 + +* Fri Mar 16 2018 Iryna Shcherbina - 0.4.21-2 +- Conditionalize the Python 2 subpackage +- Don't build the Python 2 subpackage on EL > 7 + +* Fri Feb 9 2018 amoralej - 0.4.21-1 +- Upstream 0.4.21 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.4.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Aug 29 2017 hguemar - 0.4.19-1 +- Upstream 0.4.19 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.4.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 1 2017 Haïkel Guémar - 0.4.15-1 +- Upstream 0.4.15 +- req: #365 -- full and short nla notation fixed, critical +- iproute: #364 -- new method, brport() +- ipdb: -- support bridge port options + +* Tue Mar 7 2017 Antoni S. Puimedon 0.4.13-1 +- upgrade to 0.4.13 +- ipset hash:mac support +- ipset: hash:mac support +- ipset: list:set support +- ifinfmsg: allow absolute/relative paths in the net_ns_fd NLA +- ipdb: #322 -- IPv6 updates on interfaces in DOWN state +- rtnl: #284 -- support vlan_flags +- ipdb: #307 -- fix IPv6 routes management +- ipdb: #311 -- vlan interfaces address loading +- iprsocket: #305 -- support NETLINK_LISTEN_ALL_NSID + +* Sat Feb 11 2017 Fedora Release Engineering - 0.4.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.4.10-2 +- Rebuild for Python 3.6 + +* Fri Oct 14 2016 Peter V. Saveliev 0.4.10-1 +- devlink fd leak fix + +* Thu Oct 6 2016 Peter V. Saveliev 0.4.9-1 +- critical fd leak fix +- initial NETLINK_SOCK_DIAG support + +* Tue Sep 27 2016 Peter V. Saveliev 0.4.8-1 +- uplift to 0.4.x + +* Tue Jul 19 2016 Fedora Release Engineering - 0.3.19-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Tue Apr 5 2016 Peter V. Saveliev 0.3.19-1 +- separate Python2 and Python3 packages +- MPLS lwtunnel support + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.15-2 + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild +* Fri Nov 20 2015 Peter V. Saveliev 0.3.15-1 +- critical NetNS fd leak fix + +* Tue Sep 1 2015 Peter V. Saveliev 0.3.14-1 +- bogus rpm dates in the changelog are fixed +- both licenses added + +* Tue Sep 1 2015 Peter V. Saveliev 0.3.13-1 +- BPF filters support +- MPLS routes support +- MIPS platform support +- multiple improvements on iwutil +- memory consumption improvements + +* Thu Jun 18 2015 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jan 8 2015 Peter V. Saveliev 0.3.4-1 +- Network namespaces support +- Veth, tuntap +- Route metrics + +* Fri Dec 5 2014 Peter V. Saveliev 0.3.3-1 +- Fix-ups, 0.3.3 +- Bugfixes for Python 2.6 + +* Tue Nov 18 2014 Peter V. Saveliev 0.3.2-1 +- Update to 0.3.2 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 18 2014 Jiri Pirko - 0.2.7-1 +- Update to 0.2.7 + +* Thu Aug 22 2013 Peter V. Saveliev 0.1.11-1 +- IPRSocket threadless objects +- rtnl: tc filters improvements + +* Sun Aug 04 2013 Fedora Release Engineering - 0.1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jun 26 2013 Peter V. Saveliev 0.1.10-1 +- fd and threads leaks fixed +- shutdown sequence fixed (release() calls) +- ipdb: interface removal +- ipdb: fail on transaction sync timeout + +* Tue Jun 11 2013 Peter V. Saveliev 0.1.9-2 +- fedpkg import fix + +* Tue Jun 11 2013 Peter V. Saveliev 0.1.9-1 +- several races fixed +- Python 2.6 compatibility issues fixed + +* Wed Jun 05 2013 Peter V. Saveliev 0.1.8-1 +- initial RH build +