61 lines
1.9 KiB
TOML
61 lines
1.9 KiB
TOML
[package]
|
|
cargo-toml-patch-comments = [
|
|
"switch crypto backend from Nettle to OpenSSL",
|
|
"exclude files that are only useful for upstream development",
|
|
"drop automated generation of upstream integration tests",
|
|
"drop features for unsupported crypto backends",
|
|
]
|
|
extra-files = [
|
|
"%{_mandir}/man1/sq*",
|
|
"%{bash_completions_dir}/sq.bash",
|
|
"%{fish_completions_dir}/sq.fish",
|
|
"%{zsh_completions_dir}/_sq",
|
|
]
|
|
|
|
[scripts]
|
|
prep.post = [
|
|
"# drop broken integration tests",
|
|
"rm -vr subplot/",
|
|
]
|
|
install.post = [
|
|
"# install manual pages",
|
|
"mkdir -p %{buildroot}/%{_mandir}/man1",
|
|
"cp -pav target/release/build/%{crate}-*/out/man-pages/sq*.1 %{buildroot}/%{_mandir}/man1/",
|
|
"# install shell completions",
|
|
"install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sq.bash \\",
|
|
" %{buildroot}/%{bash_completions_dir}/sq.bash",
|
|
"install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sq.fish \\",
|
|
" %{buildroot}/%{fish_completions_dir}/sq.fish",
|
|
"install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/_sq \\",
|
|
" %{buildroot}/%{zsh_completions_dir}/_sq",
|
|
]
|
|
|
|
[tests]
|
|
skip = [
|
|
# --lib
|
|
"cli::cert::export::sq_cert_export",
|
|
"cli::cert::import::sq_cert_import",
|
|
"cli::inspect::sq_inspect",
|
|
"cli::key::expire::sq_key_expire",
|
|
"cli::key::sq_key_import",
|
|
"cli::key::sq_key_list",
|
|
"cli::pki::sq_pki_authenticate",
|
|
"cli::pki::sq_pki_identify",
|
|
"cli::pki::sq_pki_list",
|
|
"cli::pki::sq_pki_lookup",
|
|
"cli::pki::sq_pki_path",
|
|
# --test sq-sign
|
|
"sq_sign",
|
|
"sq_sign_append",
|
|
"sq_sign_append_on_compress_then_sign",
|
|
"sq_sign_detached",
|
|
"sq_sign_detached_append",
|
|
"sq_sign_with_notations",
|
|
]
|
|
skip-exact = true
|
|
comments = [
|
|
"skip tests that require files which are not included in published crates",
|
|
"skip tests that fail because the Fedora crypto policy is too strict",
|
|
]
|
|
|