Skip to content

Commit

Permalink
build_rpm.py: Set _rpmdir to the topdir
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Oct 20, 2022
1 parent bac3336 commit f2f4b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/build_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def build(self, srpm=True, rpm=True, nodeps=False):
self.path,
"--define", f"_sourcedir {self.topdir}",
"--define", f"_srcrpmdir {self.topdir}",
"--define", f"_rpmdir {self.topdir}",
]
if srpm and rpm:
cmd.append("-ba")
Expand Down

0 comments on commit f2f4b8d

Please sign in to comment.