mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-21 22:56:06 +00:00
Run pypi dependency version override fix over the buildroot too
In cases where the requires.txt is generated, the dependency version override will need to be run over the buildroot and not just the source root. Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
committed by
William Douglas
parent
668822df6c
commit
448916c193
@@ -1387,6 +1387,8 @@ class Specfile(object):
|
||||
self._write_strip("python3 -tt setup.py build install --root=%{buildroot}")
|
||||
if self.config.subdir:
|
||||
self._write_strip("popd")
|
||||
for module in self.config.pypi_overrides:
|
||||
self._write_strip(f"pypi-dep-fix.py %{{buildroot}} {module}")
|
||||
self._write_strip("echo ----[ mark ]----")
|
||||
self._write_strip("cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :")
|
||||
self._write_strip("echo ----[ mark ]----")
|
||||
|
||||
Reference in New Issue
Block a user