Add riscv64 support to nix-0.14.1

This commit is contained in:
Andrew Lukoshko 2026-05-07 03:34:10 +00:00 committed by root
commit 4b798bdf85
4 changed files with 14 additions and 12 deletions

2
.gitignore vendored
View File

@ -124,3 +124,5 @@
/stratisd-3.8.1-vendor.tar.gz
/stratisd-3.8.6-vendor.tar.gz
/stratisd-3.8.6.tar.gz
/stratisd-3.9.0.tar.gz
/stratisd-3.9.0-vendor.tar.gz

View File

@ -13,7 +13,7 @@ prepare:
discover:
how: shell
url: https://github.com/stratis-storage/testing.git
ref: v3.8.1
ref: v3.9.0
tests:
- name: unit
test: python3 stratisd_cert.py -v

View File

@ -1,2 +1,2 @@
SHA512 (stratisd-3.8.6-vendor.tar.gz) = 0ef441e40bf55b3d41b4c90e9e16aea3ec836af59076ee3d3acdb89500df438a0727eb361196449bcdcce8955eb52b240b6a0606ad986dcc1cc49faa68bf80bc
SHA512 (stratisd-3.8.6.tar.gz) = efe75423571a3bf55191ece5631190d1554264b8d39d7e005d30facac7240da1ba476162341e9785c690165ec5f9c7ececd49e515a91d9ef2d634a076835775d
SHA512 (stratisd-3.9.0.tar.gz) = 48015b6fedc1dc5e8e33da8e0f2d936354009cbbcfd65312073beb2784fa1032159b6717f0f3b41a6679751eb61b4008857a1fbec613911745479b3d839b74e8
SHA512 (stratisd-3.9.0-vendor.tar.gz) = 601a4a7e4ebbdf7165490efd3b00ee9c1ee6439e778af3e32e92f143f6371f056654c6fe013cdc5650546697d201991b737e9cd76a2fbc13a28dde6d33f0d8b8

View File

@ -5,8 +5,8 @@
%global build_rustflags %{build_rustflags} --cap-lints=warn
Name: stratisd
Version: 3.8.6
Release: 2%{?dist}.alma.1
Version: 3.9.0
Release: 1%{?dist}.alma.1
Summary: Daemon that manages block devices to create filesystems
License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND MPL-2.0 AND (Unlicense OR MIT)
@ -30,7 +30,6 @@ BuildRequires: rust-packaging
%endif
BuildRequires: rust-srpm-macros
BuildRequires: systemd-devel
BuildRequires: dbus-devel
BuildRequires: libblkid-devel
BuildRequires: cryptsetup-devel
BuildRequires: clang
@ -48,6 +47,7 @@ Requires: systemd-libs
Requires: dbus-libs
Requires: cryptsetup-libs
Requires: libblkid
Requires: cryptsetup
# stratisd does not require clevis; it can be used in restricted environments
# where clevis is not available.
@ -100,7 +100,7 @@ Requires: stratisd
%build
%{cargo_license -f engine,dbus_enabled,min,systemd_compat,extras,udev_scripts} > LICENSE.dependencies
%{__cargo} build %{?__cargo_common_opts} --release --bin=stratisd
%{__cargo} build %{?__cargo_common_opts} --release --bin=stratis-min --bin=stratisd-min --bin=stratis-utils --no-default-features --features engine,min,systemd_compat
%{__cargo} build %{?__cargo_common_opts} --release --bin=stratis-min --bin=stratisd-min --bin=stratis-utils --no-default-features --features dbus_enabled,engine,min,systemd_compat
%{__cargo} rustc %{?__cargo_common_opts} --release --bin=stratis-str-cmp --no-default-features --features udev_scripts -- -Ctarget-feature=+crt-static
%{__cargo} rustc %{?__cargo_common_opts} --release --bin=stratis-base32-decode --no-default-features --features udev_scripts -- -Ctarget-feature=+crt-static
%{__cargo} build %{?__cargo_common_opts} --release --bin=stratisd-tools --no-default-features --features engine,extras
@ -113,12 +113,8 @@ a2x -f manpage docs/stratis-dumpmetadata.txt
%if %{with check}
%check
%if 0%{?rhel} && 0%{?rhel} < 9
%cargo_test --no-run
%else
%cargo_test -- --no-run
%endif
%endif
%post
%systemd_post stratisd.service
@ -171,9 +167,13 @@ a2x -f manpage docs/stratis-dumpmetadata.txt
%{_mandir}/man8/stratis-dumpmetadata.8*
%changelog
* Fri Nov 14 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 3.8.6-2.alma.1
* Thu May 07 2026 Andrew Lukoshko <alukoshko@almalinux.org> - 3.9.0-1.alma.1
- Add riscv64 support to nix-0.14.1
* Tue May 05 2026 Chung Chung <cchung@redhat.com> - 3.9.0-1
- Update to 3.9.0
- Resolves: RHEL-172451
* Tue Nov 11 2025 Chung Chung <cchung@redhat.com> - 3.8.6-2
- Update to 3.8.6
- Resolves: RHEL-125937