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/)
This commit is contained in:
Packit 2024-07-26 00:33:49 +00:00 committed by Steven Presti
parent d7a705e571
commit 7b839cbb64
5 changed files with 69 additions and 14 deletions

2
.gitignore vendored
View File

@ -41,3 +41,5 @@
/coreos-installer-0.20.0-vendor.tar.gz
/coreos-installer-0.21.0.crate
/coreos-installer-0.21.0-vendor.tar.gz
/coreos-installer-0.22.1.crate
/coreos-installer-0.22.1-vendor.tar.gz

57
.packit.yaml Normal file
View File

@ -0,0 +1,57 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_tag_template: v{version}
# add or remove files that should be synced
files_to_sync:
- rust-coreos-installer.spec
- .packit.yaml
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: coreos-installer
packages:
coreos-installer-fedora:
specfile_path: rust-coreos-installer.spec
downstream_package_name: rust-coreos-installer
actions:
post-upstream-clone:
- wget https://src.fedoraproject.org/rpms/rust-coreos-installer/raw/rawhide/f/rust-coreos-installer.spec
changelog-entry:
- bash -c 'echo "- New upstream release"'
coreos-installer-centos:
pkg_tool: centpkg
specfile_path: rust-coreos-installer.spec
downstream_package_name: rust-coreos-installer
actions:
post-upstream-clone:
- wget https://gitlab.com/redhat/centos-stream/rpms/rust-coreos-installer/-/raw/c9s/rust-coreos-installer.spec
changelog-entry:
- bash -c 'echo "- New upstream release"'
jobs:
- job: propose_downstream
trigger: release
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-all
- job: propose_downstream
trigger: release
packages: [coreos-installer-centos]
dist_git_branches:
- c9s
- c10s

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.99.0.post1.dev18+g4850a935.

View File

@ -11,7 +11,7 @@
%global crate coreos-installer
Name: rust-%{crate}
Version: 0.21.0
Version: 0.22.1
Release: 1%{?dist}
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)
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
@ -183,6 +173,9 @@ 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

View File

@ -1,3 +1,3 @@
SHA512 (coreos-installer-0.21.0.crate) = 40a5f8bb49ae16bd578329fc757f6d8e3785f34513665d8080171ab12cacb943182cab5e86142904472c1984548f7fa933c2e7cf405c3b013f4f589af4c64f8c
SHA512 (coreos-installer-0.21.0-vendor.tar.gz) = 795d0070ec9dac45cb3d8ddac2425afc073bd596a870529e2898108b77a6a28b5dac9de580c34c3ee5a0e81e6d4f0debe9527979b611ab86e4219075bb51439f
SHA512 (coreos-installer-0.22.1.crate) = c64d494399700dad7b724b34eb7d7564681a00a163b741e83fa316c246b006b9d903fffa495a31a5973d0eb0e2e196080d155a9f73de8a78be1a2cdfb6954956
SHA512 (coreos-installer-0.22.1-vendor.tar.gz) = 63c7d5b1388339a6bfde1ad7185fb4a23739966384760f647edca3d644c53ce52a33501b9dd08e28b479374ed57558b0cb11fa0ee40a73d720608107bc1aded5
SHA512 (coreos-installer-dracut-7181733.tar.gz) = a03e3e90f355690eda974335e2189c69837f7f0ceb456a449b2de6ce4b24ca098d3f0ea51ddcab35ab354a5070e4b0525188dfbbff8056cfc62bbcdded10647c