Tidies for unification of spec file
This commit is contained in:
parent
311a6ed6f6
commit
3e5a9b26ee
@ -1,6 +1,6 @@
|
||||
Name: stratis-cli
|
||||
Version: 3.0.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Command-line tool for interacting with the Stratis daemon
|
||||
|
||||
License: ASL 2.0
|
||||
@ -9,7 +9,7 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: /usr/bin/a2x
|
||||
BuildRequires: %{_bindir}/a2x
|
||||
# It runs without, but totally useless
|
||||
Requires: (stratisd >= 3.0.0 with stratisd < 4.0.0)
|
||||
|
||||
@ -33,14 +33,14 @@ a2x -f manpage docs/stratis.txt
|
||||
%py3_install
|
||||
# Do not install tab-completion files for RHEL
|
||||
%if !0%{?rhel}
|
||||
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
||||
shell-completion/bash/stratis
|
||||
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
||||
shell-completion/zsh/_stratis
|
||||
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
|
||||
shell-completion/fish/stratis.fish
|
||||
%endif
|
||||
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
@ -62,6 +62,9 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
|
||||
%{python3_sitelib}/stratis_cli-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Mar 30 2022 mulhern <amulhern@redhat.com> - 2.0.1-5
|
||||
- Tidies for unification of spec file
|
||||
|
||||
* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 3.0.1-4
|
||||
- Remove all gating files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user