#16 Update to 0.7.12
Merged 3 months ago by msuchy. Opened 4 months ago by jcapitao.
rpms/ jcapitao/python-pyroute2 rawhide  into  rawhide

file modified
+14 -19
@@ -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 @@ 

  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 @@ 

  %{python3_sitelib}/pr2modules

  

  %changelog

+ * Wed Feb 28 2024 Joel Capitao <jcapitao@redhat.com> - 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 <releng@fedoraproject.org> - 0.7.3-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (pyroute2-0.7.3.tar.gz) = de2246da567255a4167ccba072a7f288bf12fd58ecdcd4da770984b0fff8fb76e416a752d54d1d8aaf520e4b1e0c38b443463b9f6208223602e7792e4a5122f3

+ SHA512 (pyroute2-0.7.12.tar.gz) = 928e7f45569d43c1849d9c8d5972b38343ed8dd79137d6bfc757557d3bde23526af6baea61acc720b7e2d5d26731066b93f180138a6227b7d76d094e04111df7

  • Remove deprecated macro %python_provide
  • Set description in gobal variable

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/675745152e3f4cc1822628b25522bb14

Pull-Request has been merged by msuchy

3 months ago
Metadata