Skip to content

Commit

Permalink
Add features.enable-all
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Jul 10, 2024
1 parent 124f527 commit 470fcc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions atuin/atuin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions atuin/rust2rpm.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 470fcc9

Please sign in to comment.