2 Commits

Author SHA1 Message Date
jinqiang zhang 8ef95f5c32 disable fish zsh 2026-03-03 18:00:12 +08:00
jinqiang zhang c5c0316c3e disable gpgverify 2026-03-03 17:03:06 +08:00
+1 -8
View File
@@ -39,10 +39,8 @@ URL: https://sr.ht/~gotmax23/tomcli
%global furl https://git.sr.ht/~gotmax23/tomcli
Source0: %{furl}/refs/download/v%{version}/tomcli-%{version}.tar.gz
Source1: %{furl}/refs/download/v%{version}/tomcli-%{version}.tar.gz.asc
Source2: https://meta.sr.ht/~gotmax23.pgp
BuildArch: noarch
BuildRequires: gnupg2
BuildRequires: python3-devel
%if %{with manpages}
BuildRequires: scdoc
@@ -63,7 +61,6 @@ tomcli is a CLI for working with TOML files. Pronounced "tom clee."
%prep
%gpgverify -d0 -s1 -k2
%autosetup -p1
@@ -100,9 +97,7 @@ install -Dpm 0644 doc/*.1 -t %{buildroot}%{_mandir}/man1
export %{py3_test_envvars}
%{python3} compgen.py \
--installroot %{buildroot} \
--bash-dir %{bash_completions_dir} \
--fish-dir %{fish_completions_dir} \
--zsh-dir %{zsh_completions_dir}
--bash-dir %{bash_completions_dir}
)
@@ -135,8 +130,6 @@ test "${newname}" = "not-tomcli"
%doc NEWS.md
%{_bindir}/tomcli*
%{bash_completions_dir}/tomcli*
%{fish_completions_dir}/tomcli*.fish
%{zsh_completions_dir}/_tomcli*
%if %{with manpages}
%{_mandir}/man1/tomcli*.1*
%endif