Notification time stamped 2022-06-29 23:06:37 UTC
From 9a2569ce4957162c7133c2f2b03432d0631ebca5 Mon Sep 17 00:00:00 2001
From: Miro Hrončok <miro(a)hroncok.cz>
Date: Jun 28 2022 16:25:46 +0000
Subject: Don't require Python packages for explicit Python versions
This package requires python3, not python3.X, and hence it needs
python3dist(...) and not python3.Xdist(...) packages on runtime.
---
diff --git a/netplan.spec b/netplan.spec
index 9b0b6e1..cd5c67f 100644
--- a/netplan.spec
+++ b/netplan.spec
@@ -19,7 +19,7 @@
Name: netplan
Version: 0.104
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Network configuration tool using YAML
License: GPLv3
URL:
http://netplan.io/
@@ -56,8 +56,8 @@ BuildRequires: python3dist(pyyaml)
%endif
# /usr/sbin/netplan is a Python 3 script that requires netifaces and PyYAML
-Requires: python%{python3_version}dist(netifaces)
-Requires: python%{python3_version}dist(pyyaml)
+Requires: python3dist(netifaces)
+Requires: python3dist(pyyaml)
# 'ip' command is used in netplan apply subcommand
Requires: /usr/sbin/ip
# netplan ships dbus files
@@ -234,6 +234,9 @@ make check
%changelog
+* Tue Jun 28 2022 Miro Hrončok <mhroncok(a)redhat.com> - 0.104-2
+- Don't require Python packages for explicit Python versions
+
* Sun Feb 20 2022 Neal Gompa <ngompa(a)fedoraproject.org> - 0.104-1
- Rebase to 0.104
- Drop EL7 support
https://src.fedoraproject.org/rpms/netplan/c/9a2569ce4957162c7133c2f2b034...