|
|
|
@ -33,10 +33,6 @@ License: Apache-2.0
|
|
|
|
|
URL: %{gourl}
|
|
|
|
|
Source0: %{gosource}
|
|
|
|
|
|
|
|
|
|
# Patch generated from the upstream rhel-9.3.0 branch:
|
|
|
|
|
# git clone https://github.com/osbuild/osbuild-composer.git --branch rhel-9.3.0
|
|
|
|
|
# git format-patch v88.1..
|
|
|
|
|
Patch1: 0001-test-remove-package-version-check.patch
|
|
|
|
|
# MSVSphere patches
|
|
|
|
|
Patch1001: 0001-Added-MSVSphere-support.patch
|
|
|
|
|
|
|
|
|
@ -142,7 +138,7 @@ install -m 0644 -vp repositories/msvsphere-* %{buildroot}%
|
|
|
|
|
# MSVSphere 8 only supports building for MSVSphere 8
|
|
|
|
|
install -m 0644 -vp repositories/msvsphere-%{msvsphere}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
|
|
|
|
|
%endif
|
|
|
|
|
%else # end of MSVSphere support
|
|
|
|
|
%else
|
|
|
|
|
# CentOS also defines rhel so we check for centos first
|
|
|
|
|
%if 0%{?centos}
|
|
|
|
|
|
|
|
|
@ -168,7 +164,7 @@ install -m 0644 -vp repositories/rhel-%{rhel}* %{buildroot}%
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%endif # end of MSVSphere support block
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Fedora can build for all included fedora releases
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|