Adapt for el8

This commit is contained in:
Daniel Berteaud 2020-11-09 11:22:48 +01:00
parent 14e5dbc050
commit 3cf7085045
2 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class RsyncSRPMSReleaser(RsyncReleaser):
prefix="temp_dir=", **kwargs):
if target == 'branch':
target = run_command('git symbolic-ref --short HEAD')
if target in [ 'el5', 'el6', 'el7', 'sme9', 'sme10' ]:
if target in [ 'el5', 'el6', 'el7', 'el8','sme9', 'sme10' ]:
# Call ourselve with the new target
self.__init__(name, tag, build_dir, config,
user_config, target, releaser_config, no_cleanup, test,

View File

@ -13,6 +13,11 @@ releaser = fws.releaser.RsyncSRPMSReleaser
srpm_disttag = .fws
rsync = build.firewall-services.com:/var/lib/build/uploads/el7
[el8]
releaser = fws.releaser.RsyncSRPMSReleaser
srpm_disttag = .fws
rsync = build.firewall-services.com:/var/lib/build/uploads/el8
[sme9]
releaser = fws.releaser.RsyncSRPMSReleaser
srpm_disttag = .fws.sme