gnupg: create a gpg2 symlink on install (#23789)
This commit is contained in:
@@ -43,6 +43,11 @@ class Gnupg(AutotoolsPackage):
|
||||
depends_on('iconv')
|
||||
depends_on('zlib')
|
||||
|
||||
@run_after('install')
|
||||
def add_gpg2_symlink(self):
|
||||
if self.spec.satisfies("@2.0:2.999"):
|
||||
symlink('gpg', self.prefix.bin.gpg2)
|
||||
|
||||
def configure_args(self):
|
||||
args = [
|
||||
'--disable-bzip2',
|
||||
|
Reference in New Issue
Block a user