# connecting PLC
Requires: python3-pycurl
# Signed tickets
+# see myplc/plc.d/gpg for more details on the gnupg / gpg topic
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 31
+Requires: gnupg1
+%else
Requires: gnupg
+%endif
# sioc/plnet
Requires: pyplnet >= 4.3
# we do need the slice images in any case
from subprocess import PIPE, Popen
from xmlrpc.client import dumps, loads
-GPG = '/usr/bin/gpg'
+# see also myplc/plc.d/gpg
+import os.path
+GPG = '/usr/bin/gpg1' if os.path.exists("/usr/bin/gpg1") else "/usr/bin/gpg"
def _popen_gpg(*args):
"""Return a Popen object to GPG."""