From 3e5a9b26ee4bbdbd4f1d65fad544a5912f24c850 Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 30 Mar 2022 09:48:57 -0400 Subject: [PATCH] Tidies for unification of spec file --- stratis-cli.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/stratis-cli.spec b/stratis-cli.spec index 105ffe2..8ad7761 100644 --- a/stratis-cli.spec +++ b/stratis-cli.spec @@ -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 - 2.0.1-5 +- Tidies for unification of spec file + * Sun Feb 27 2022 mulhern - 3.0.1-4 - Remove all gating files