pkg, ui rpm: make python3-notify2 package optional

python3-notify2 has been deprecated since long time ago, and for example
it has been removed from OpenSuse Tumbleweed.
This commit is contained in:
Gustavo Iñiguez Goia 2024-12-26 22:46:11 +01:00
parent da1b3d69e2
commit 1c2e1f68c7
Failed to generate hash of commit

View file

@ -18,8 +18,8 @@ BuildArch: noarch
Vendor: OpenSnitch project
Packager: Gustavo Iñiguez Goya <gooffy1@gmail.com>
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)
# avoid to depend on a particular python version
%global __requires_exclude ^python\\(abi\\) = 3\\..$