Compare commits

..

No commits in common. 'c9' and 'c9-beta' have entirely different histories.
c9 ... c9-beta

6
.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-dracut-5a456ad.tar.gz
SOURCES/coreos-installer-0.22.1-vendor.tar.gz
SOURCES/coreos-installer-0.22.1.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
6dd225c4d210b3a2e6ded364e243471934483e30 SOURCES/coreos-installer-dracut-5a456ad.tar.gz
4970b2d2690f9bd98864bd66e8f543275f4a7878 SOURCES/coreos-installer-0.22.1-vendor.tar.gz
6d16f08bdec253d65c293df24f73bd6dfb8cf2de SOURCES/coreos-installer-0.22.1.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]

@ -5,13 +5,13 @@
# The library is for internal code reuse and is not a public API
%global __cargo_is_lib 0
%global dracutcommit 5a456ad690acffb43d49abed9f1940c915d68694
%global dracutcommit 71817332483aad341ffc666ed69b7869a7a90652
%global dracutshortcommit %(c=%{dracutcommit}; echo ${c:0:7})
%global crate coreos-installer
Name: rust-%{crate}
Version: 0.17.0
Version: 0.22.1
Release: 1%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS
@ -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,21 +81,13 @@ 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
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%cargo_prep -v vendor
%else
%cargo_prep
%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}
%generate_buildrequires
@ -185,6 +173,28 @@ from the initramfs.
%endif
%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
- 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
* Fri Sep 08 2023 Antonio Murdaca <antoniomurdaca@gmail.com> - 0.17.0-3
- rebuilt to hopefully fix up builds for 9.3
* Fri Sep 01 2023 Antonio Murdaca <antoniomurdaca@gmail.com> - 0.17.0-2
- Fix rhbz#2236826
* Tue Mar 14 2023 Benjamin Gilbert <bgilbert@redhat.com> - 0.17.0-1
- New release

Loading…
Cancel
Save