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