%global realname cf %global upstream project-fifo # Technically we're noarch, but our install path is not. %global debug_package %{nil} Name: erlang-%{realname} Version: 0.3.1 Release: 1%{?dist} Summary: Terminal color helper License: BSD URL: https://github.com/%{upstream}/%{realname} Source0: https://github.com/%{upstream}/%{realname}/archive/v%{version}.tar.gz#/%{realname}-%{version}.tar.gz BuildRequires: erlang-rebar Requires: erlang-rebar %description %{summary}. %prep %autosetup -n %{realname}-%{version} %build %{erlang_compile} %install %{erlang_install} %check %{erlang_test} %files %license LICENSE %doc README.md %{erlang_appdir}/ %changelog * Thu Aug 02 2018 Timothée Floure - 0.3.1-1 - Update to latest upstream release * Sat Jul 14 2018 Timothée Floure - 0.2.2-1 - Let there be package