3 Commits
+5 -9
View File
@@ -31,7 +31,7 @@ PATH=%{buildroot}%{_bindir}:${PATH}
Name: tomcli Name: tomcli
Version: 0.10.1 Version: 0.10.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: CLI for working with TOML files. Pronounced "tom clee." Summary: CLI for working with TOML files. Pronounced "tom clee."
License: MIT License: MIT
@@ -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,14 +130,15 @@ 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
%changelog %changelog
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.10.1-3 * Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.10.1-3
- Rebuilt for Python 3.14.0rc3 bytecode - Rebuilt for Python 3.14.0rc3 bytecode