%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.18 Release: %mkrel 1 License: ERPL Summary: Pure Erlang PostgreSQL driver Group: Development/Erlang URL: https://github.com/%{upstream}/%{realname} 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 BuildArch: noarch %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 * Tue Aug 02 2022 neoclust <neoclust> 1.1.18-1.mga9 + Revision: 1874643 - New version 1.1.18 * Tue Apr 05 2022 umeabot <umeabot> 1.1.16-2.mga9 + Revision: 1844097 - Mageia 9 Mass Rebuild * Wed Feb 09 2022 neoclust <neoclust> 1.1.16-1.mga9 + Revision: 1772712 - New version 1.1.16 * Sun Dec 20 2020 neoclust <neoclust> 1.1.10-1.mga8 + Revision: 1661734 - New version 1.1.10 * Wed Feb 12 2020 umeabot <umeabot> 1.1.6-4.mga8 + Revision: 1510489 - Mageia 8 Mass Rebuild * Fri Sep 21 2018 wally <wally> 1.1.6-3.mga7 + 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