From dcbd6e3f24277ff782969bcf41a156073593cb31 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 18 Oct 2023 15:08:05 +0300 Subject: [PATCH] Add AlmaLinux runners --- SPECS/osbuild.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/SPECS/osbuild.spec b/SPECS/osbuild.spec index 7cc8ea8..7508000 100644 --- a/SPECS/osbuild.spec +++ b/SPECS/osbuild.spec @@ -9,7 +9,7 @@ Version: 93 %global pkgdir %{_prefix}/lib/%{pypi_name} Name: %{pypi_name} -Release: 1%{?dist} +Release: 1%{?dist}.alma.1 License: Apache-2.0 URL: %{forgeurl} @@ -144,6 +144,12 @@ bzip2 -9 osbuild.pp %install %py3_install +ln -rs %{_builddir}/%{name}-%{version}/runners/org.osbuild.rhel82 %{_builddir}/%{name}-%{version}/runners/org.osbuild.almalinux8 + +%if 0%{?almalinux} >= 9 +ln -rs %{_builddir}/%{name}-%{version}/runners/org.osbuild.centos9 %{_builddir}/%{name}-%{version}/runners/org.osbuild.almalinux9 +%endif + mkdir -p %{buildroot}%{pkgdir}/stages install -p -m 0755 $(find stages -type f) %{buildroot}%{pkgdir}/stages/ @@ -263,6 +269,9 @@ fi %changelog +* Wed Oct 18 2023 Eduard Abdullin - 93-1.alma.1 +- Add AlmaLinux runners + * Wed Aug 23 2023 imagebuilder-bot - 93-1 - New upstream release