Escape percent for %kernel_arches macro
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
parent
d009cfbf5e
commit
0df5882174
@ -1,6 +1,6 @@
|
||||
Name: kernel-srpm-macros
|
||||
Version: 1.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: RPM macros that list arches the full kernel is built on
|
||||
# This package only exist in Fedora repositories
|
||||
# The license is the standard (MIT) specified in
|
||||
@ -29,7 +29,7 @@ The variable to use is kernel_arches.
|
||||
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d
|
||||
install -p -m 0644 -t %{buildroot}/%{_rpmconfigdir}/macros.d %{SOURCE0}
|
||||
%if 0%{?rhel} >= 8
|
||||
sed -i 's/^%kernel_arches.*/%kernel_arches x86_64 s390x ppc64le aarch64/' \
|
||||
sed -i 's/^%%kernel_arches.*/%%kernel_arches x86_64 s390x ppc64le aarch64/' \
|
||||
%{buildroot}/%{_rpmconfigdir}/macros.d/macros.kernel-srpm
|
||||
%endif
|
||||
|
||||
@ -38,6 +38,9 @@ install -p -m 0644 -t %{buildroot}/%{_rpmconfigdir}/macros.d %{SOURCE0}
|
||||
%{_rpmconfigdir}/macros.d/*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 04 2020 Merlin Mathesius <mmathesi@redhat.com> - 1.0-3
|
||||
- Escape percent for %%kernel_arches macro
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user