%global realname parse_trans %global upstream uwiger # Technically, we're noarch; but erlang whose directories we install into is not. %global debug_package %{nil} Name: erlang-%{realname} Version: 2.9.2 Release: 1%{?dist} Summary: Parse transform utilities for Erlang Group: Development/Languages License: ASL 2.0 URL: https://github.com/%{upstream}/%{realname} %if 0%{?el7}%{?fedora} VCS: scm:git:https://github.com/%{upstream}/%{realname}.git %endif Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz BuildRequires: erlang-rebar %description Parse transform utilities for Erlang. %prep %setup -q -n %{realname}-%{version} %build %{erlang_compile} %install %{erlang_install} %check %{erlang_test} %files %doc doc/ examples/ README.md %{erlang_appdir}/ %changelog * Wed Mar 16 2016 Peter Lemenkov - 2.9.2-1 - Ver. 2.9.2