diff --git a/osbuild.spec b/osbuild.spec index cc17333..6fc4351 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -9,7 +9,7 @@ Version: 137 %global pkgdir %{_prefix}/lib/%{pypi_name} Name: %{pypi_name} -Release: 1%{?dist} +Release: 1%{?dist}.alma.1 License: Apache-2.0 URL: %{forgeurl} @@ -166,6 +166,11 @@ Contains depsolving capabilities for package managers. %py3_build make man +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 + # SELinux make -f /usr/share/selinux/devel/Makefile osbuild.pp bzip2 -9 osbuild.pp @@ -211,6 +216,7 @@ mkdir -p %{buildroot}%{_mandir}/man5 install -p -m 0644 -t %{buildroot}%{_mandir}/man1/ docs/*.1 install -p -m 0644 -t %{buildroot}%{_mandir}/man5/ docs/*.5 + # SELinux install -D -m 0644 -t %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype} %{name}.pp.bz2 install -D -m 0644 -t %{buildroot}%{_mandir}/man8 selinux/%{name}_selinux.8 @@ -317,6 +323,9 @@ fi %{pkgdir}/solver.json %changelog +* Thu Dec 26 2024 Eduard Abdullin - 137-1.alma.1 +- Add AlmaLinux runners + * Thu Dec 19 2024 imagebuilder-bot - 137-1 - New upstream release