Skip to content

Commit

Permalink
rpmbuild: use values with evaluated macros
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Aug 10, 2023
1 parent 727b40b commit 931a995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpmbuild/copr_rpmbuild/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def __init__(self, path):
self.tags = self.spec.tags(self.spec.parsed_sections.package).content

def __getattr__(self, name):
value = getattr(self.spec, name)
value = getattr(self.tags, name).value
if name == "epoch" and value is not None:
return int(value)
return value
Expand Down

0 comments on commit 931a995

Please sign in to comment.