Update to 3.0.0

This commit is contained in:
mulhern 2021-12-21 16:38:00 -05:00
parent b113a18019
commit aeb542b1e6
3 changed files with 17 additions and 3 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@
/stratis-cli-2.4.2.tar.gz
/stratis-cli-2.4.3.tar.gz
/stratis-cli-2.4.4.tar.gz
/stratis-cli-3.0.0.tar.gz

View File

@ -1 +1 @@
SHA512 (stratis-cli-2.4.4.tar.gz) = 2910ea0f851a68e361fd42072c8a552db0e8d40751ca133f39108f5e61000094213817ca0ae62c6dcb24e2c016238dd94dde17f351af1221d58caa0845c9decf
SHA512 (stratis-cli-3.0.0.tar.gz) = 0a8a17af6e158396a522454dbe7357c71aabcb5d7e997a789764414684bdd56c2c79b7352aceafdb916e64236972135f4f1f9523bb24f1a64f8978c654b18e8b

View File

@ -1,5 +1,5 @@
Name: stratis-cli
Version: 2.4.4
Version: 3.0.0
Release: 1%{?dist}
Summary: Command-line tool for interacting with the Stratis daemon
@ -11,7 +11,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: /usr/bin/a2x
# It runs without, but totally useless
Requires: (stratisd >= 2.4.0 with stratisd < 3.0.0)
Requires: (stratisd >= 3.0.0 with stratisd < 4.0.0)
# stratisd only available on certain arches
ExclusiveArch: %{rust_arches} noarch
@ -31,10 +31,15 @@ a2x -f manpage docs/stratis.txt
%install
%py3_install
# Do not install tab-completion files for RHEL
%if !0%{?rhel}
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
shell-completion/bash/stratis
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
shell-completion/zsh/_stratis
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
shell-completion/fish/stratis.fish
%endif
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
%files
@ -42,16 +47,24 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
%doc README.rst
%{_bindir}/stratis
%{_mandir}/man8/stratis.8*
%if !0%{?rhel}
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/stratis
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_stratis
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/stratis.fish
%endif
%{python3_sitelib}/stratis_cli/
%{python3_sitelib}/stratis_cli-*.egg-info/
%changelog
* Tue Dec 21 2021 mulhern <amulhern@redhat.com> - 3.0.0-1
- Update to 3.0.0
* Thu Aug 5 2021 mulhern <amulhern@redhat.com> - 2.4.4-1
- Update to 2.4.4