2024-08-20 08:30:41 +00:00
|
|
|
[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",
|
|
|
|
|
]
|
2025-03-19 12:57:03 +00:00
|
|
|
doc-files.exclude = [
|
|
|
|
|
"sq-subplot.md",
|
|
|
|
|
]
|
2024-08-20 08:30:41 +00:00
|
|
|
|
|
|
|
|
[scripts]
|
|
|
|
|
prep.post = [
|
|
|
|
|
"# drop broken integration tests",
|
|
|
|
|
"rm -vr subplot/",
|
2025-03-19 12:57:03 +00:00
|
|
|
"rm -v tests/sq-subplot.rs",
|
2024-08-20 08:30:41 +00:00
|
|
|
]
|
2025-03-27 13:38:39 +00:00
|
|
|
build.pre = [
|
|
|
|
|
"export ASSET_OUT_DIR=target/assets",
|
|
|
|
|
]
|
2024-08-20 08:30:41 +00:00
|
|
|
install.post = [
|
|
|
|
|
"# install manual pages",
|
|
|
|
|
"mkdir -p %{buildroot}/%{_mandir}/man1",
|
2025-03-27 13:38:39 +00:00
|
|
|
"cp -pav target/assets/man-pages/sq*.1 %{buildroot}/%{_mandir}/man1/",
|
2024-08-20 08:30:41 +00:00
|
|
|
"# install shell completions",
|
2025-03-27 13:38:39 +00:00
|
|
|
"install -Dpm 0644 target/assets/shell-completions/sq.bash \\",
|
2024-08-20 08:30:41 +00:00
|
|
|
" %{buildroot}/%{bash_completions_dir}/sq.bash",
|
2025-03-27 13:38:39 +00:00
|
|
|
"install -Dpm 0644 target/assets/shell-completions/sq.fish \\",
|
2024-08-20 08:30:41 +00:00
|
|
|
" %{buildroot}/%{fish_completions_dir}/sq.fish",
|
2025-03-27 13:38:39 +00:00
|
|
|
"install -Dpm 0644 target/assets/shell-completions/_sq \\",
|
2024-08-20 08:30:41 +00:00
|
|
|
" %{buildroot}/%{zsh_completions_dir}/_sq",
|
|
|
|
|
]
|
|
|
|
|
|