Commit 6128a954 authored by Nicolas Steinmetz's avatar Nicolas Steinmetz

Add sources macro to ease using archive

parent 71b3a7c7
......@@ -18,7 +18,7 @@ Requires: bash
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}
tar xzf v%{version}.tar.gz
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}/
......
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