git://git.onelab.eu
/
bootmanager.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; sense the system to use gpg1 when installed
[bootmanager.git]
/
bootmanager.spec
diff --git
a/bootmanager.spec
b/bootmanager.spec
index
89f5f8f
..
a383393
100644
(file)
--- a/
bootmanager.spec
+++ b/
bootmanager.spec
@@
-23,7
+23,14
@@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# this is not true anymore and fedora23 won't let us build this as noarch anymore
# BuildArch: noarch
# this is not true anymore and fedora23 won't let us build this as noarch anymore
# 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
+
# need the apache user at install-time
Requires: httpd
# need the apache user at install-time
Requires: httpd