From 470fcc957e1087ff9fabd47ad2bc93f1b082e6f3 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Fri, 5 Jul 2024 16:51:50 +0200 Subject: [PATCH] Add features.enable-all Signed-off-by: Cristian Le --- atuin/atuin.spec | 12 ++++++------ atuin/rust2rpm.toml | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/atuin/atuin.spec b/atuin/atuin.spec index 9a592f5..e5d1187 100644 --- a/atuin/atuin.spec +++ b/atuin/atuin.spec @@ -60,15 +60,15 @@ encrypted synchronisation of your history between machines, via an Atuin server. %cargo_prep %generate_buildrequires -%cargo_generate_buildrequires +%cargo_generate_buildrequires -a %build -%cargo_build -%{cargo_license_summary} -%{cargo_license} > LICENSE.dependencies +%cargo_build -a +%{cargo_license_summary -a} +%{cargo_license -a} > LICENSE.dependencies %install -install -Dpm0755 target/rpm/atuin -t %{buildroot}%{_bindir}/ +install -Dpm0755 target/rpm/atuin -t %{buildroot}%{_bindir}/ -a # Generate all of the shell-completions for completion in bash fish zsh; do %{buildroot}%{_bindir}/atuin gen-completions --shell $completion -o . @@ -91,7 +91,7 @@ export PGTESTS_USERS="atuin:pass" export PGTESTS_DATABASES="atuin:atuin" export PGTESTS_PORT=5432 %postgresql_tests_run -%cargo_test +%cargo_test -a %endif %files diff --git a/atuin/rust2rpm.toml b/atuin/rust2rpm.toml index e8ebe29..64b7715 100644 --- a/atuin/rust2rpm.toml +++ b/atuin/rust2rpm.toml @@ -1,3 +1,6 @@ +[features] +enable-all = true + [package] url = "https://atuin.sh" source-url = "https://github.com/atuinsh/atuin/archive/refs/tags/v%{version}.tar.gz"