up release, install bash completion

This commit is contained in:
Sergey Zhemoitel 2021-08-25 17:17:44 +03:00
parent 8702db907a
commit 2d82907405

View file

@ -4,7 +4,7 @@
Name: pulumi Name: pulumi
Version: 3.10.3 Version: 3.10.3
Release: 1 Release: 2
Summary: Modern Infrastructure as Code Summary: Modern Infrastructure as Code
URL: https://www.pulumi.com URL: https://www.pulumi.com
Source0: https://github.com/pulumi/pulumi/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/pulumi/pulumi/archive/v%{version}/%{name}-%{version}.tar.gz
@ -32,7 +32,13 @@ popd
%install %install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
# install bash completion
install -d %{buildroot}%{_sysconfdir}/bash_completion.d/
./bin/%{name} gen-completion bash > %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
%files %files
%doc README.md LICENSE %doc README.md LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%{_sysconfdir}/bash_completion.d/%{name}