From c417c8c8d2eef6c3d6dfa6c56e622950589b0515 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Mon, 10 Jun 2024 15:28:10 +0000 Subject: [PATCH] 0.121.0 --- terraform-provider-yandex.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terraform-provider-yandex.spec b/terraform-provider-yandex.spec index 63e82a9..23db325 100644 --- a/terraform-provider-yandex.spec +++ b/terraform-provider-yandex.spec @@ -18,6 +18,7 @@ Group: Development/Other BuildRequires: go >= 1.16 BuildRequires: git-core BuildRequires: upx +BuildRequires: terraform %description %{summary} @@ -30,10 +31,10 @@ export GOPROXY=https://proxy.golang.org/cached-only #go mod tidy go build --ldflags="-s -w" -o bin/%{name} . -upx %{name} +upx bin/%{name} %install -install -Dm0755 %{name} %{buildroot}/%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name} +install -Dm0755 bin/%{name} %{buildroot}/%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name} %files %doc README.md LICENSE