actions: - replace: - target: "spec" find: | # Only include repositories for the distribution and release install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories replace: | # Only include repositories for the distribution and release install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories %if 0%{?almalinux} %if 0%{?almalinux} >= 10 install -m 0644 -vp repositories/almalinux-* %{buildroot}%{_datadir}/osbuild-composer/repositories/ %else install -m 0644 -vp repositories/almalinux-8* %{buildroot}%{_datadir}/osbuild-composer/repositories/ %if 0%{?almalinux} == 9 install -m 0644 -vp repositories/almalinux-9* %{buildroot}%{_datadir}/osbuild-composer/repositories/ %endif %endif %else count: 1 - target: "spec" find: "# Fedora can build for all included fedora releases" replace: | %endif # Fedora can build for all included fedora releases count: 1 - modify_release: - suffix: ".alma.1" enabled: true - changelog_entry: - name: "Eduard Abdullin" email: "eabdullin@almalinux.org" line: - "Install AlmaLinux repositories" - "Add AlmaLinux support patch (Thanks @pastalian)" - "Remove libreport-rhel-bugzilla from package set" - add_files: - type: "patch" name: "0001-Remove-libreport-rhel-anaconda-bugzilla-from-anacond.patch" number: 101 - type: "patch" name: "0002-AlmaLinux-support-patch.patch" number: 102