Name: bar Version: 0.0.git.10.f0511cb7 Release: 1%{?dist} Summary: bar License: MIT URL: https://github.com/nikromen/%{name} VCS: git+https://github.com/nikromen/bar.git#f0511cb7db8f01855d0cbf1ed859df020c5dbd2b: Source0: bar-f0511cb7.tar.gz BuildArch: noarch Requires: bash %description %{summary} %prep %setup -T -b 0 -q -n bar %build %install rm -rf %{buidroot} mkdir -p %{buildroot}%{_bindir} install -p -m 0775 %{name}.sh %{buildroot}%{_bindir} %files %{_bindir}/%{name}.sh %changelog