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