import CS rust-coreos-installer-0.22.1-1.el9

This commit is contained in:
eabdullin 2024-09-30 16:36:53 +00:00
parent a0192a8fde
commit d725d65282
3 changed files with 9 additions and 16 deletions

4
.gitignore vendored
View File

@ -1,3 +1,3 @@
SOURCES/coreos-installer-0.21.0-vendor.tar.gz SOURCES/coreos-installer-0.22.1-vendor.tar.gz
SOURCES/coreos-installer-0.21.0.crate SOURCES/coreos-installer-0.22.1.crate
SOURCES/coreos-installer-dracut-7181733.tar.gz SOURCES/coreos-installer-dracut-7181733.tar.gz

View File

@ -1,3 +1,3 @@
fe23218c1231918cc4a02ee9f6b523f00f34d083 SOURCES/coreos-installer-0.21.0-vendor.tar.gz 4970b2d2690f9bd98864bd66e8f543275f4a7878 SOURCES/coreos-installer-0.22.1-vendor.tar.gz
9929a21d59a54ce99cd4b152cd6c473cfc500fee SOURCES/coreos-installer-0.21.0.crate 6d16f08bdec253d65c293df24f73bd6dfb8cf2de SOURCES/coreos-installer-0.22.1.crate
81f96c32efa9e32730e1f3bda5a820d33229f006 SOURCES/coreos-installer-dracut-7181733.tar.gz 81f96c32efa9e32730e1f3bda5a820d33229f006 SOURCES/coreos-installer-dracut-7181733.tar.gz

View File

@ -11,7 +11,7 @@
%global crate coreos-installer %global crate coreos-installer
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.21.0 Version: 0.22.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS Summary: Installer for Fedora CoreOS and RHEL CoreOS
@ -84,20 +84,10 @@ Obsoletes: coreos-installer-dracut < 0.0.1
# Hackily enable rdcore manually on RHEL (RHEL macros do not take -f) # Hackily enable rdcore manually on RHEL (RHEL macros do not take -f)
sed -i '/^\[features\]/a \ \ default = ["rdcore"]' Cargo.toml sed -i '/^\[features\]/a \ \ default = ["rdcore"]' Cargo.toml
tar xvf %{SOURCE1} tar xvf %{SOURCE1}
mkdir -p .cargo %cargo_prep -v vendor
cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%else %else
%cargo_prep %cargo_prep
%endif %endif
# Fix SIGSEGV in tests on s390x
# https://bugzilla.redhat.com/show_bug.cgi?id=1883457
sed -i 's/"-Ccodegen-units=1",//' .cargo/config
%if !0%{?rhel} || 0%{?eln} %if !0%{?rhel} || 0%{?eln}
%generate_buildrequires %generate_buildrequires
@ -183,6 +173,9 @@ from the initramfs.
%endif %endif
%changelog %changelog
* Fri Jul 26 2024 Packit <hello@packit.dev> - 0.22.1-1
- New upstream release
* Mon Feb 26 2024 Steven Presti <spresti@redhat.com> - 0.21.0-1 * Mon Feb 26 2024 Steven Presti <spresti@redhat.com> - 0.21.0-1
- New release - New release