actions: - replace: - target: "spec" find: "%global portablebuilddir /builddir/build/BUILD" replace: | %global portablebuilddir /builddir/build/BUILD %if 0%{?almalinux} %global portablesuffix el9 %endif count: 1 - target: "spec" find: "# %patch" replace: "# %%patch" count: -1 - modify_release: - suffix: ".alma.1" enabled: true - changelog_entry: - name: "Eduard Abdullin" email: "eabdullin@almalinux.org" line: - "Use el9 portable packages"