Reorder actions

This commit is contained in:
eabdullin 2026-02-11 15:23:26 +03:00
parent 10765b920e
commit 5871721386

View File

@ -1,13 +1,5 @@
actions:
- replace:
- target: "spec"
find: "%define target %{_target_cpu}-redhat-linux"
replace: |
%define target %{_target_cpu}-redhat-linux
%ifarch x86_64_v2
%define target x86_64-redhat-linux
%endif
count: 1
- target: "patch-git.lua"
find: |
local have_git = (posix == nil -- Not running under rpm.
@ -56,7 +48,14 @@ actions:
'log --first-parent --no-decorate --no-renames --raw --pretty=fuller'
.. ' --date=default > ' .. log_branch .. ' > ' .. git_log_file)
count: 1
- target: "spec"
find: "%define target %{_target_cpu}-redhat-linux"
replace: |
%define target %{_target_cpu}-redhat-linux
%ifarch x86_64_v2
%define target x86_64-redhat-linux
%endif
count: 1
- modify_release:
- suffix: ".alma.1"