Skip to content

Commit

Permalink
Add gnupg as a buildreq if we'll need it during build
Browse files Browse the repository at this point in the history
  • Loading branch information
bwarden committed Apr 11, 2024
1 parent b628caf commit 658bd0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autospec/specfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ def write_sources(self):

# if package is verified, include the signature in the source tarball
if self.keyid and self.config.signature:
# We'll need gnupg to verify the signature. Need to add it here so it's ready before write_buildreq
self.requirements.add_buildreq("gnupg")

count += 1
self._write_strip(f"Source{count} : {self.config.signature}")
self.config.signature_macro = f"%{{SOURCE{count}}}"
Expand Down

0 comments on commit 658bd0d

Please sign in to comment.