Commit 83437865 authored by Nicolas Steinmetz's avatar Nicolas Steinmetz

Update to kubectx 0.7.1, add shell completions in package

parent 45d54d12
Name: kubectx
Version: 0.7.0
Version: 0.7.1
Release: 1%{?dist}
Summary: kubectx and kubens ease managing kubernetes contexts / name spaces
......@@ -18,17 +18,34 @@ Requires: bash
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}
mkdir -p %{buildroot}/%{_datadir}/%{name}
tar xzf %{_sourcedir}/v%{version}.tar.gz
install -p -m 755 %{name}-%{version}/kubectx %{buildroot}/%{_bindir}
install -p -m 755 %{name}-%{version}/kubens %{buildroot}/%{_bindir}
install -p -m 644 %{name}-%{version}/LICENSE %{buildroot}/%{_datadir}/licenses/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubectx.bash %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubectx.fish %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubectx.zsh %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubens.bash %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubens.fish %{buildroot}/%{_datadir}/%{name}/
install -p -m 644 %{name}-%{version}/completion/kubens.zsh %{buildroot}/%{_datadir}/%{name}/
%files
%license LICENSE
%{_bindir}/kubectx
%{_bindir}/kubens
%{_datadir}/%{name}/kubectx.bash
%{_datadir}/%{name}/kubectx.fish
%{_datadir}/%{name}/kubectx.zsh
%{_datadir}/%{name}/kubens.bash
%{_datadir}/%{name}/kubens.fish
%{_datadir}/%{name}/kubens.zsh
%changelog
* Mon Nov 11 2019 Nicolas Steinmetz <contact@cerenit.fr> - 0.7.1_1
- Upgrade to 0.7.1
- Add shell complets to /usr/share/kubectx/
* Wed Sep 04 2019 Nicolas Steinmetz <contact@cerenit.fr> - 0.7.0_1
- Upgrade to 0.7.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment