%global realname cth_readable Name: erlang-%{realname} Version: 1.5.1 Release: %mkrel 1 BuildArch: noarch Summary: Common test hooks for more readable erlang logs Group: Development/Erlang License: BSD URL: https://github.com/ferd/cth_readable Source0: https://github.com/ferd/cth_readable/archive/v%{version}/%{realname}-v%{version}.tar.gz BuildRequires: erlang-rebar3 BuildRequires: erlang-lager # for tests BuildRequires: erlang-cf BuildRequires: erlang-proper %description %{summary}. %prep %autosetup -n %{realname}-%{version} #drop bundled raber3 rm -rf rebar3 %build #%%{erlang_compile} %{_bindir}/rebar3 bare compile --paths "" %install %{erlang_install} %if 0 %check %{erlang_test} %endif %files %license LICENSE %doc README.md %{erlang_appdir}/ %changelog * Sun Aug 15 2021 wally <wally> 1.5.1-1.mga9 + Revision: 1741470 - new version 1.5.1 - switch to rebar3 build - add BRs for tests * Sun Dec 20 2020 wally <wally> 1.4.9-1.mga8 + Revision: 1661510 - new version 1.4.9 - update RPM group - make pkg noarch * Fri Feb 14 2020 umeabot <umeabot> 1.4.2-2.mga8 + Revision: 1520435 - Mageia 8 Mass Rebuild * Tue Nov 20 2018 wally <wally> 1.4.2-1.mga7 + Revision: 1332427 - imported package erlang-cth_readable