import CS rust-coreos-installer-0.21.0-1.el9
This commit is contained in:
parent
19f907cb69
commit
a0192a8fde
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
SOURCES/coreos-installer-0.17.0-vendor.tar.gz
|
||||
SOURCES/coreos-installer-0.17.0.crate
|
||||
SOURCES/coreos-installer-0.21.0-vendor.tar.gz
|
||||
SOURCES/coreos-installer-0.21.0.crate
|
||||
SOURCES/coreos-installer-dracut-7181733.tar.gz
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd154ac49206aba962ba815c65f4808e7103aa36 SOURCES/coreos-installer-0.17.0-vendor.tar.gz
|
||||
86814b29f286cf83d323db78c6ed4b083a35414b SOURCES/coreos-installer-0.17.0.crate
|
||||
fe23218c1231918cc4a02ee9f6b523f00f34d083 SOURCES/coreos-installer-0.21.0-vendor.tar.gz
|
||||
9929a21d59a54ce99cd4b152cd6c473cfc500fee SOURCES/coreos-installer-0.21.0.crate
|
||||
81f96c32efa9e32730e1f3bda5a820d33229f006 SOURCES/coreos-installer-dracut-7181733.tar.gz
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff -ur a/Cargo.toml b/Cargo.toml
|
||||
--- a/Cargo.toml 1969-12-31 19:00:01.000000000 -0500
|
||||
+++ b/Cargo.toml 2023-03-14 07:57:14.025021766 -0400
|
||||
@@ -195,6 +195,7 @@
|
||||
|
||||
[features]
|
||||
docgen = ["dep:clap_mangen"]
|
||||
+default = ["rdcore"]
|
||||
rdcore = []
|
||||
|
||||
[target."cfg(target_arch = \"s390x\")".dependencies.mbrman]
|
@ -11,8 +11,8 @@
|
||||
%global crate coreos-installer
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.17.0
|
||||
Release: 4%{?dist}
|
||||
Version: 0.21.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Installer for Fedora CoreOS and RHEL CoreOS
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
@ -23,10 +23,6 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
||||
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
||||
Source2: https://github.com/coreos/coreos-installer-dracut/archive/%{dracutcommit}/coreos-installer-dracut-%{dracutshortcommit}.tar.gz
|
||||
|
||||
# The RHEL 8 rust-toolset macros don't let us enable features from the
|
||||
# %%cargo_* macros. Enable rdcore directly in Cargo.toml.
|
||||
Patch0: enable-rdcore.patch
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
BuildRequires: rust-toolset
|
||||
@ -85,6 +81,8 @@ Obsoletes: coreos-installer-dracut < 0.0.1
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1 -a 2
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
# Hackily enable rdcore manually on RHEL (RHEL macros do not take -f)
|
||||
sed -i '/^\[features\]/a \ \ default = ["rdcore"]' Cargo.toml
|
||||
tar xvf %{SOURCE1}
|
||||
mkdir -p .cargo
|
||||
cat >.cargo/config << EOF
|
||||
@ -185,6 +183,16 @@ from the initramfs.
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 26 2024 Steven Presti <spresti@redhat.com> - 0.21.0-1
|
||||
- New release
|
||||
|
||||
* Thu Jan 04 2024 Steven Presti <spresti@redhat.com> - 0.20.0-1
|
||||
- New version
|
||||
- Remove rdcore patch, and move its logic into %prep
|
||||
|
||||
* Tue Nov 28 2023 Steven Presti <spresti@redhat.com> - 0.18.0-1
|
||||
- New version
|
||||
|
||||
* Mon Sep 11 2023 Antonio Murdaca <antoniomurdaca@gmail.com> - 0.17.0-4
|
||||
- rebuilt to use rhel-target=exception
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user