From 785ee995e63b914d142d485a4b48d4a241cb7c1b Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 7 Mar 2025 11:41:37 +0300 Subject: [PATCH] Replace env variable for x86_64_v2 --- config.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config.yaml diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..26323fc --- /dev/null +++ b/config.yaml @@ -0,0 +1,22 @@ +actions: + - replace: + - target: "spec" + find: | + %build + replace: | + %ifarch x86_64_v2 + sed -i 's/^GOAMD64=v3$/GOAMD64=v2/' ./go.env + grep -q '^GOAMD64=v2$' ./go.env + %endif + + %build + count: 1 + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Update env var for v2"