%global realname rebar3 %global upstream erlang Name: erlang-%{realname} Version: 3.12.0 Release: 11%{?dist} BuildArch: noarch Summary: Erlang Build Tools License: MIT URL: https://github.com/%{upstream}/%{realname} Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{version}.tar.gz Provides: %{realname} = %{version}-%{release} BuildRequires: git gcc make BuildRequires: erlang erlang-rebar erlang-erts erlang-tools erlang-erl_interface BuildRequires: erlang-eunit erlang-parsetools erlang-common_test %description Erlang Build Tools. %prep %setup -q -n %{realname}-%{version} %build ./bootstrap %install # Install rebar script itself install -D -p -m 0755 rebar3 %{buildroot}%{_bindir}/rebar3 %files %{_bindir}/rebar3 %changelog * Thu Dec 19 2019 Albert Hahn - 3.12.0-1 - Initial build