Add AlmaLinux runners

This commit is contained in:
eabdullin 2023-10-18 15:08:05 +03:00
parent 13b24552b6
commit dcbd6e3f24
1 changed files with 10 additions and 1 deletions

View File

@ -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 <eabdullin@almalinux.org> - 93-1.alma.1
- Add AlmaLinux runners
* Wed Aug 23 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 93-1
- New upstream release