diff --git a/config.yaml b/config.yaml index 846f505..8a6a2c9 100644 --- a/config.yaml +++ b/config.yaml @@ -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"