diff --git a/python-pyroute2.spec b/python-pyroute2.spec index 25bd0a4..11978c2 100644 --- a/python-pyroute2.spec +++ b/python-pyroute2.spec @@ -1,15 +1,13 @@ %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 +%global _description \ +PyRoute2 provides several levels of API to work with Netlink\ +protocols, such as Generic Netlink, RTNL, TaskStats, NFNetlink,\ +IPQ. Name: python-%{srcname} -Version: 0.7.3 -Release: 5%{?dist} +Version: 0.7.12 +Release: 1%{?dist} Summary: Pure Python netlink library License: GPL-2.0-or-later OR Apache-2.0 URL: https://github.com/svinota/%{srcname} @@ -17,26 +15,18 @@ 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. +%description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools -%{?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. +%description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep -%setup -q -n %{srcname}-%{version} +%autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires @@ -58,6 +48,11 @@ IPQ. %{python3_sitelib}/pr2modules %changelog +* Wed Feb 28 2024 Joel Capitao - 0.7.12-1 +- Update to latest upstream +- Remove deprecated macro %python_provide +- Set description in gobal variable + * Fri Jan 26 2024 Fedora Release Engineering - 0.7.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 77cf9cb..ee8706f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyroute2-0.7.3.tar.gz) = de2246da567255a4167ccba072a7f288bf12fd58ecdcd4da770984b0fff8fb76e416a752d54d1d8aaf520e4b1e0c38b443463b9f6208223602e7792e4a5122f3 +SHA512 (pyroute2-0.7.12.tar.gz) = 928e7f45569d43c1849d9c8d5972b38343ed8dd79137d6bfc757557d3bde23526af6baea61acc720b7e2d5d26731066b93f180138a6227b7d76d094e04111df7