mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 17:46:17 +01:00
- build: allow to use lbuild, a compatible replacement for build
This commit is contained in:
parent
3e97442f4b
commit
9ce40d4bab
@ -1363,7 +1363,8 @@ class Osc(cmdln.Cmdln):
|
||||
|
||||
import osc.build
|
||||
|
||||
if not os.path.exists('/usr/lib/build/debtransform'):
|
||||
if not os.path.exists('/usr/lib/build/debtransform') \
|
||||
and not os.path.exists('/usr/lib/lbuild/debtransform'):
|
||||
sys.stderr.write('Error: you need build.rpm with version 2007.3.12 or newer.\n')
|
||||
sys.stderr.write('See http://download.opensuse.org/repositories/openSUSE:/Tools/\n')
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user