git://git.onelab.eu
/
bootstrapfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reguire gnupg1 on f>=31
[bootstrapfs.git]
/
nodeimage.spec
diff --git
a/nodeimage.spec
b/nodeimage.spec
index
d692dbe
..
99de140
100644
(file)
--- a/
nodeimage.spec
+++ b/
nodeimage.spec
@@
-31,7
+31,14
@@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# other archs must be able to install this
BuildArch: noarch
# other archs must be able to install this
BuildArch: noarch
-Requires: tar, gnupg, sharutils, bzip2
+Requires: tar, sharutils, bzip2
+# see myplc/plc.d/gpg for more details on the gnupg / gpg topic
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 31
+Requires: gnupg1
+%else
+Requires: gnupg
+%endif
+
# this is for plc.d/packages that uses ed for hacking yumgroups.xml
Requires: ed
# this is for plc.d/packages that uses ed for hacking yumgroups.xml
Requires: ed