update octavia-tempest-plugin to 1.4.0
Change-Id: I659a5dc0b9be3b1a13048bdf6a4e68a56d02c198
This commit is contained in:
parent
ee149148f6
commit
fa2ae58f10
|
@ -1,5 +1,5 @@
|
||||||
{% set pypi_name = 'octavia-tempest-plugin' %}
|
{% set pypi_name = 'octavia-tempest-plugin' %}
|
||||||
{% set source=fetch_source('https://tarballs.openstack.org/octavia-tempest-plugin/octavia-tempest-plugin-1.0.0.tar.gz') %}
|
{% set source=fetch_source('https://tarballs.openstack.org/octavia-tempest-plugin/octavia-tempest-plugin-1.4.0.tar.gz') %}
|
||||||
{% set upstream_version = upstream_version() %}
|
{% set upstream_version = upstream_version() %}
|
||||||
{% set rpm_release = '1' %}
|
{% set rpm_release = '1' %}
|
||||||
|
|
||||||
|
@ -39,14 +39,14 @@ OpenStack Load Balancing.
|
||||||
%py_req_cleanup
|
%py_req_cleanup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd octavia_tempest_plugin/contrib/httpd
|
pushd octavia_tempest_plugin/contrib/test_server
|
||||||
# we don't want to ship a binary blob that we didn't build ourself
|
# we don't want to ship a binary blob that we didn't build ourself
|
||||||
rm -f httpd.bin
|
rm -f test_server.bin
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags -static' -o httpd.bin httpd.go
|
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags -static' -o test_server.bin test_server.go
|
||||||
%else
|
%else
|
||||||
# NOTE(jpena): the CentOS 8 build fails without this flag
|
# NOTE(jpena): the CentOS 8 build fails without this flag
|
||||||
go build -ldflags '-linkmode=external -compressdwarf=false' -o httpd.bin httpd.go
|
go build -ldflags '-linkmode=external -compressdwarf=false' -o test_server.bin test_server.go
|
||||||
%endif
|
%endif
|
||||||
popd
|
popd
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
|
|
Loading…
Reference in New Issue