1
0
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:
Daniel Mach 2022-10-20 09:10:59 +02:00
parent bac3336d90
commit f2f4b8d738

View File

@ -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")