mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-02 13:43:38 +02:00
build_rpm.py: Set _rpmdir to the topdir
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user