ERROR:
[root@localhost SPECS]# rpmbuild -ba libguestfs.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xxzZTr
+ umask 022
+ cd /root/rpmbuild/BUILD
++ mktemp -d
+ tmphome=/tmp/tmp.BAJzdrk0ne
+ gpgv2 --homedir /tmp/tmp.BAJzdrk0ne --keyring
/root/rpmbuild/SOURCES/libguestfs.keyring /root/rpmbuild/SOURCES/libguestfs-
1.36.3.tar.gz.sig /root/rpmbuild/SOURCES/libguestfs-1.36.3.tar.gz
gpgv: keyblock resource `/root/rpmbuild/SOURCES/libguestfs.keyring': No such
file or directory
gpgv: Signature made Fri Mar 24 16:46:40 2017 EDT using RSA key ID E1B768A0
gpgv: Can't check signature: No public key
error: Bad exit status from /var/tmp/rpm-tmp.xxzZTr (%prep)
I do not have /root/rpmbuild/SOURCES/**libguestfs.keyring**
file
and I want to know how it came?
答案 0 :(得分:1)
您是否正在尝试构建RHEL 7.4 libguestfs包?密钥环文件应包含在源RPM中。如果你以某种方式删除它,那么你可以从Fedora包中获取它:https://src.fedoraproject.org/rpms/libguestfs/tree/master
您还可以在此处尝试RHEL 7.5预览包(包括源代码):https://www.redhat.com/archives/libguestfs/2017-November/msg00006.html