%global realname p1_pgsql %global upstream processone # Technically, we're noarch; but erlang whose directories we install into is not. %global debug_package %{nil} Name: erlang-%{realname} Version: 1.1.6 Release: %mkrel 3 License: ERPL Summary: Pure Erlang PostgreSQL driver Group: Development/Erlang 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 Provides: erlang-pgsql = %{version}-%{release} Obsoletes: erlang-pgsql < 0-16 BuildRequires: erlang-rebar BuildRequires: erlang-eunit %description Pure Erlang PostgreSQL driver. %prep %autosetup -n %{realname}-%{version} -p1 %build %{erlang_compile} %check %{rebar_eunit} %install %{erlang_install} %files %doc README.md %license EPLICENSE %{erlang_appdir}/ %changelog * Fri Sep 21 2018 wally <wally> 1.1.6-3.mga7 (not released yet) + Revision: 1295126 - BR erlang-eunit as it's not pulled with erlang-rebar on aarch64 * Fri Sep 21 2018 wally <wally> 1.1.6-2.mga7 + Revision: 1295043 - revert noarch change * Thu Sep 20 2018 wally <wally> 1.1.6-1.mga7 + Revision: 1288422 - new version 1.1.6 (sync with Fedora) - noarch build * Thu Nov 17 2016 neoclust <neoclust> 1.1.0-1.mga6 + Revision: 1068059 - New version 1.1.0 * Fri May 06 2016 neoclust <neoclust> 1.0.0-1.mga6 + Revision: 1009914 - imported package erlang-p1_pgsql