mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-09 22:36:14 +01:00
build_rpm.py: Set _rpmdir to the topdir
This commit is contained in:
parent
bac3336d90
commit
f2f4b8d738
@ -100,6 +100,7 @@ class Spec:
|
||||
self.path,
|
||||
"--define", f"_sourcedir {self.topdir}",
|
||||
"--define", f"_srcrpmdir {self.topdir}",
|
||||
"--define", f"_rpmdir {self.topdir}",
|
||||
]
|
||||
if srpm and rpm:
|
||||
cmd.append("-ba")
|
||||
|
Loading…
Reference in New Issue
Block a user