Fix SIGSEGV in tests on s390x

This commit is contained in:
Benjamin Gilbert 2020-09-30 17:27:17 -04:00
parent 3f3ef8a0d0
commit 0e84630149

View File

@ -8,7 +8,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.7.0 Version: 0.7.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS Summary: Installer for Fedora CoreOS and RHEL CoreOS
# Upstream license specification: Apache-2.0 # Upstream license specification: Apache-2.0
@ -56,6 +56,9 @@ Obsoletes: coreos-installer-dracut < 0.0.1
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
# Fix SIGSEGV in tests on s390x
# https://bugzilla.redhat.com/show_bug.cgi?id=1883457
sed -i 's/"-Ccodegen-units=1",//' .cargo/config
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires -f rdcore %cargo_generate_buildrequires -f rdcore
@ -110,6 +113,9 @@ RHEL CoreOS. It is not needed on other platforms.
%endif %endif
%changelog %changelog
* Wed Sep 30 2020 Benjamin Gilbert <bgilbert@redhat.com> - 0.7.0-2
- Fix SIGSEGV in tests on s390x
* Mon Sep 21 2020 Benjamin Gilbert <bgilbert@redhat.com> - 0.7.0-1 * Mon Sep 21 2020 Benjamin Gilbert <bgilbert@redhat.com> - 0.7.0-1
- New release - New release