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: "spec" find: | %ifarch s390x %verify(not md5 size mtime) %config(noreplace) %{_libdir}/gconv/gconv-modules.d/gconv-modules-s390.conf %endif replace: | %ifarch s390x %verify(not md5 size mtime) %config(noreplace) %{_libdir}/gconv/gconv-modules.d/gconv-modules-s390.conf %endif %ifarch riscv64 %{_libdir}/lp64d %endif count: 1 - modify_release: - suffix: ".alma.1" enabled: true - changelog_entry: - name: "Eduard Abdullin" email: "eabdullin@almalinux.org" line: - "Overwrite target for x86_64_v2" - "Add /usr/lib64/lp64d to ricv64"