%global realname cluster_info
Name: erlang-%{realname}
Version: 2.1.0
Release: %autorelease
BuildArch: noarch
Summary: Cluster info/postmortem inspector for Erlang applications
License: Apache-2.0
URL: https://github.com/basho/%{realname}
VCS: scm:git:%{url}.git
Source0: %{url}/archive/%{version}/%{realname}-%{version}.tar.gz
Patch1: erlang-cluster_info-0001-OTP-25-update.patch
BuildRequires: erlang-lager
BuildRequires: erlang-rebar3
%description
Cluster info/postmortem inspector for Erlang applications.
%prep
%autosetup -p1 -n %{realname}-%{version}
%build
%{erlang3_compile}
%install
%{erlang3_install}
%check
%{erlang3_test}
%files
%license LICENSE
%doc README.md
%{erlang_appdir}/
%changelog
%autochangelog