Commit Graph

108 Commits

Author SHA1 Message Date
Steven Presti
d907f8d7a6 spec: rebuild for correct jira
resolves: #RHEL-52233
2024-07-31 16:19:00 -04:00
Packit
5872343ebd Update to 0.22.1 upstream release
Upstream tag: v0.22.1
Upstream commit: cec48f8a

resolves: #RHEL-51391
Commit authored by Packit automation (https://packit.dev/)
2024-07-31 11:20:49 -04:00
Troy Dawson
9226e60f41 Bump release for June 2024 mass rebuild 2024-06-24 09:23:17 -07:00
Yaakov Selkowitz
d0d14649b5 Update Rust macro usage
The rust-toolset macros in RHEL 10 are now compatible with Fedora's
in terms of handling vendoring and automatic generation of license
information and bundled provides.
2024-02-04 00:40:28 -05:00
Fedora Release Engineering
af3f8bcd58 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 18:55:42 +00:00
Fabio Valentini
ee428baede Refresh for latest Rust package template; update license tag for SPDX
The package was last generated from an old Rust package template (v16),
the latest version is v25.

- The `%__cargo_skip_build` macro is unused and no longer has any effect.
- SPDX license expressions are the default since rust2rpm v22 (and in
  Fedora in general).
- The `%rust_arches` macro is unused and no longer has any effect.
- The `%cargo_license` and `%cargo_license_summary` macros can be used
  to generate a correct and up-to-date license summary (not available
  in RHEL).

I made some additional small changes:

- Replaced a `%define` with a `%global`. There didn't seem to be a
  reason for using `%define`, and if there's no reason, `%global` should
  be used instead.
- Replaced the expanded form of `%{crates_source}` with the actual
  macro. It's available everywhere.
- Dropped a stray additional newline at the end of the `%_description`.
- Moved package definitions into one place instead of both *before*
  **and** *after* the scriptlets.
- Dropped the workaround for the test SIGSEGV on s390x (RHBZ#1883457),
  which is no longer needed.
- Made some entries in the `%files` lists less overly globby, which is
  discouraged in the Packaging Guidelines.
2024-01-09 12:37:39 -05:00
Packit
4a3792be12 [packit] 0.20.0 upstream release
Upstream tag: v0.20.0
Upstream commit: f9971db3
2023-12-20 16:17:32 +00:00
Steven Presti
ce3f7762dd Replace rdcore patch with %prep work
Since the RHEL rust toolbox does not support feature flags and
keeping a patch updated per release impacts automation. Add logic
to the %prep section to set the feature in the cargo.toml file.
2023-12-11 13:42:17 -05:00
Fabio Valentini
15aa50519b
Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072) 2023-12-01 16:15:08 +01:00
Yaakov Selkowitz
fc80b71ba0 Update RHEL patch 2023-11-13 15:26:50 -05:00
Nikita Dubrovskii
a3ec0a71f9 0.18.0 2023-09-13 17:16:14 +02:00
Aashish Radhakrishnan
d0e4d4307c Backport patch that adds the F40 signing key
Upstream : https://github.com/coreos/coreos-installer/pull/1264
2023-08-14 16:20:13 -04:00
Fedora Release Engineering
0ccfbe745e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 19:42:09 +00:00
Yaakov Selkowitz
90930c04f1 Fix RHEL/ELN builds
The eln macro requires ELN SIG approval, and there is no need to differ
from RHEL here.  More importantly, we don't want the dynamic
buildrequires in ELN either.

RHEL/ELN cargo macros do not support -f, so import the RHEL/c9s patch
which adds rdcore to the default features.

While we're at it, use the RHEL %%cargo_prep -V to handle vendoring
rather than manually modifing the cargo config.
2023-05-19 18:50:28 -04:00
Fabio Valentini
9bf4babe67
Rebuild for tokio, h2, and openssl crate security updates
tokio: RUSTSEC-2023-0005
h2: RUSTSEC-2023-0034 / CVE-2023-26964
openssl: RUSTSEC-2023-0022, RUSTSEC-2023-0023, RUSTSEC-2023-0024
2023-05-03 16:48:47 +02:00
Irene Diez
c119416a02 Update coreos-installer-dracut
Updates dracut/scripts: no need to mount the filesystem
https://github.com/coreos/coreos-installer-dracut/pull/30

Signed-off-by: Irene Diez <idiez@redhat.com>
2023-04-12 17:38:11 +02:00
Benjamin Gilbert
3fd1ac6274 0.17.0 2023-03-10 16:39:25 -05:00
Paul Whalen
029a3152a7 Enable coreos-installer-dracut in Fedora
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2023-02-21 10:01:35 -05:00
Jonathan Lebon
6624948537 Backport patch that adds the F39 signing key
I.e. https://github.com/coreos/coreos-installer/pull/1113.
For https://github.com/coreos/fedora-coreos-config/pull/2246#issuecomment-1435353921.

Note I clipped the part of the patch that updates the release notes
since it conflicted and it didn't seem worth resolving since we don't
package it.
2023-02-17 17:45:45 -05:00
Fabio Valentini
cf282f7095
Rebuild for fixed frame pointer compiler flags in Rust RPM macros 2023-02-05 00:54:22 +01:00
Fedora Release Engineering
c40fa43658 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 22:12:06 +00:00
Benjamin Gilbert
0caf53238c Build with mbrman 0.5.0 2022-10-14 01:39:45 -04:00
Benjamin Gilbert
5411a49ca3 Update to 0.16.1, bump coreos-installer-dracut 2022-09-19 17:00:58 -04:00
Benjamin Gilbert
01aae833f5 Merge branch 'f37' into rawhide
The f37 branch accidentally diverged from rawhide.  Get them back
on a common base.
2022-09-16 00:21:08 -04:00
Benjamin Gilbert
201dff1522 Merge branch 'f36' into rawhide
The f36 branch accidentally diverged from rawhide.  Get them back
on a common base.
2022-09-16 00:20:49 -04:00
Steven Presti
9247207f57 rust-coreos-installer.spec: update with latest version 2022-09-15 23:14:36 -04:00
Dusty Mabe
0ad5b4d507
Backport patch that adds F38 signing key
(cherry picked from commit 82e9364181)
2022-08-22 21:30:22 -04:00
Benjamin Gilbert
f5ab6f0c98
Fix build with rust-bytes 1.2.0
(cherry picked from commit ff1e39138a)
2022-08-22 21:29:21 -04:00
Benjamin Gilbert
b45977108d
Fix build with rust-regex 1.6.0
(cherry picked from commit aeb1acd874)
2022-08-22 21:27:34 -04:00
Dusty Mabe
6c040c2b34
Revert "Backport patch that adds F38 signing key"
This reverts commit 91ad24107e.

Need to do some other backports from the `rawhide` branch first.
2022-08-22 21:25:02 -04:00
Dusty Mabe
91ad24107e
Backport patch that adds F38 signing key
(cherry picked from commit 82e9364181)
2022-08-22 19:13:15 -04:00
Dusty Mabe
89786e192c
Backport patch that adds F38 signing key
(cherry picked from commit 82e9364181)
2022-08-22 19:10:36 -04:00
Dusty Mabe
82e9364181
Backport patch that adds F38 signing key 2022-08-22 16:51:27 -04:00
Benjamin Gilbert
ff1e39138a Fix build with rust-bytes 1.2.0 2022-08-01 23:17:42 -04:00
Fedora Release Engineering
a81ed9b15d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 03:25:59 +00:00
Benjamin Gilbert
aeb1acd874 Fix build with rust-regex 1.6.0 2022-07-14 00:29:43 -04:00
Benjamin Gilbert
751de83775 Sync coreos-installer-dracut with CentOS Stream 9 2022-07-09 21:51:33 -04:00
Benjamin Gilbert
6253ba091b Add changelog entries for previous commits 2022-06-17 15:26:22 -04:00
Michael Armijo
68f30a686a 0.15.0 2022-06-17 14:42:15 -04:00
Jonathan Lebon
38521008be Add man pages
We're generating manpages now. Ship them.
2022-05-02 23:21:45 -04:00
Jonathan Lebon
ea43bf85e2 Use make install targets to install non-binary bits
We want to use `%cargo_install` for the main binary to match the use of
`%cargo_build`, but for everything else let's just use the same
dependent make targets.
2022-05-02 23:21:45 -04:00
Jonathan Lebon
78330a87bc Actually ship release binaries on RHEL
I was perusing Brew build logs to debug packaging issues and to my
dismay realized that during the `%install` phase, we were actually
*rebuilding* and installing coreos-installer in debug mode. The reason
was that we weren't specifying `RELEASE=1` here. The deeper reason is
that the `install` target triggers `all` (see
https://github.com/coreos/coreos-installer/pull/634 for discussions
about that).

Anyway, for now let's just fix it here.

Fixes 511b4a3 ("Vendor rust dependencies on RHEL only & add
coreos-installer-dracut subpackage").
2022-05-02 23:19:26 -04:00
Jonathan Lebon
07c2c3289f Move %files section lower down
Usually, that section lives after `%build` and `%install`. This is
already the case for the other subpackages, but not the main one.
2022-05-02 22:57:07 -04:00
Jonathan Lebon
80e41146b2 Tweak top comment re. rust2rpm
We've done a lot of modifications to this spec file now since it was
generated. Make it clear that we're no longer regenerating from
`rust2rpm` everytime.
2022-05-02 22:57:06 -04:00
Jonathan Lebon
d26e2b9e9d 0.14.0 2022-04-27 15:15:58 -04:00
Jonathan Lebon
504d860466 Backport "blockdev: rework EFI vendor dir checking"
https://github.com/coreos/coreos-installer/pull/802 for
https://github.com/coreos/fedora-coreos-tracker/issues/1116.
2022-03-23 17:25:25 -04:00
Zbigniew Jędrzejewski-Szmek
e801ff8f0c Rebuild with package notes 2022-02-15 16:31:32 +01:00
Jonathan Lebon
491e2497f3 0.13.1 2022-02-13 15:18:52 -05:00
Jonathan Lebon
74be28cf81 Backport "signing-keys: regular Fedora cycle rotation of keys"
https://github.com/coreos/coreos-installer/pull/770
2022-02-10 10:50:32 -05:00
Fedora Release Engineering
a40f5d4bc8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 20:16:56 +00:00