From 422a2dd82dc46f9f7ca32f06b21e41f1c42ab0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20I=C3=B1iguez=20Goia?= Date: Fri, 3 Jan 2025 16:19:28 +0100 Subject: [PATCH] pkg,ui: rpm/deb improvements - deb: added python3-packaging dependency. - rpm: * make python3-notify2 package optional. * Added python3-packaging as dependency to load dynamically the protobuffers (python3-packaging for Fedora, python-rpm-packaging metapackage for OpenSuse). --- utils/packaging/ui/deb/debian/control | 1 + utils/packaging/ui/rpm/opensnitch-ui.spec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/packaging/ui/deb/debian/control b/utils/packaging/ui/deb/debian/control index 0151b329..5131d040 100644 --- a/utils/packaging/ui/deb/debian/control +++ b/utils/packaging/ui/deb/debian/control @@ -27,6 +27,7 @@ Depends: python3-pyinotify, python3-grpcio, python3-protobuf, + python3-packaging, python3-slugify, python3-notify2, xdg-user-dirs, diff --git a/utils/packaging/ui/rpm/opensnitch-ui.spec b/utils/packaging/ui/rpm/opensnitch-ui.spec index 5d99f6c0..4369d104 100644 --- a/utils/packaging/ui/rpm/opensnitch-ui.spec +++ b/utils/packaging/ui/rpm/opensnitch-ui.spec @@ -18,8 +18,8 @@ BuildArch: noarch Vendor: OpenSnitch project Packager: Gustavo IƱiguez Goya Url: https://github.com/evilsocket/opensnitch -Requires: python3, python3-pip, (netcfg or setup), (python3-pyinotify or python3-inotify), python3-qt5, python3-notify2 -Recommends: (python3-slugify or python3-python-slugify), python3-protobuf >= 3.0, python3-grpcio >= 1.10.0, (qgnomeplatform-qt5 or QGnomePlatform-qt5) +Requires: python3, python3-pip, (netcfg or setup), (python3-pyinotify or python3-inotify), python3-qt5 +Recommends: (python3-slugify or python3-python-slugify), python3-notify2, python3-protobuf >= 3.0, python3-grpcio >= 1.10.0, (qgnomeplatform-qt5 or QGnomePlatform-qt5), (python3-packaging or python-rpm-packaging) # avoid to depend on a particular python version %global __requires_exclude ^python\\(abi\\) = 3\\..$