#293 [keygen] fix gnupg2 requirement
Merged 5 years ago by clime. Opened 5 years ago by tmz.
copr/ tmz/copr master  into  master

file modified
+1 -1
@@ -33,7 +33,7 @@ 

  BuildRequires: python3-mock

  

  Requires:   haveged

- Requires:   gnupg

+ Requires:   gnupg2

  Requires:   python3-mod_wsgi

  Requires:   httpd

  Requires:   obs-signd

The code has always used gpg2, which comes from the gnupg2 package on
Fedora and RHEL. On RHEL, there is only the gnupg2 package and it
provides gnupg as well. On Fedora, gnupg provides gnupg-1.4.x which
includes /bin/gpg.

By chance, 'Requires: gnupg' does the right thing on RHEL. On Fedora it
pulls in an unneeded dependency and fails to properly ensure that
/bin/gpg2 is installed. This is easily overlooked because core tools
like dnf & yum require gnupg2.

Prepare for the coming deprecation of gnupg-1.4.x by making it clear
that gnupg2 is what copr-keygen requires.

Pull-Request has been merged by clime

5 years ago
Metadata