mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use saltstack repo in buildpackage.py on CentOS 5 (#33080)
This commit is contained in:
parent
61d126cb98
commit
d4928c5a22
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,8 @@ def build_centos(opts):
|
|||
if major_release == 5:
|
||||
python_bin = 'python26'
|
||||
define_opts.extend(['--define', 'dist .el5'])
|
||||
if os.path.exists('/etc/yum.repos.d/saltstack.repo'):
|
||||
build_reqs.extend(['--enablerepo=saltstack'])
|
||||
build_reqs.extend(['python26-devel'])
|
||||
elif major_release == 6:
|
||||
build_reqs.extend(['python-devel'])
|
||||
|
|
Loading…
Add table
Reference in a new issue