commit
451f755923
BIN
eflame-0.tar.gz
Normal file
BIN
eflame-0.tar.gz
Normal file
Binary file not shown.
38
erlang-eflame.spec
Normal file
38
erlang-eflame.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global realname eflame
|
||||
%global upstream slfritchie
|
||||
Name: erlang-%{realname}
|
||||
Version: 0
|
||||
Release: 1
|
||||
BuildArch: noarch
|
||||
Summary: Flame Graph profiler for Erlang
|
||||
License: MIT
|
||||
URL: https://github.com/%{upstream}/%{realname}
|
||||
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
|
||||
Source0: https://github.com/%{upstream}/%{realname}/archive/a08518142126f5fc541a3a3c4a04c27f24448bae/%{realname}-%{version}.tar.gz
|
||||
BuildRequires: erlang-rebar perl-generators
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
%description
|
||||
Flame Graph profiler for Erlang.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{realname}-a08518142126f5fc541a3a3c4a04c27f24448bae
|
||||
|
||||
%build
|
||||
%{erlang_compile}
|
||||
|
||||
%install
|
||||
%{erlang_install}
|
||||
install -D -p -m 0755 flamegraph.pl %{buildroot}%{erlang_appdir}/bin/flamegraph.pl
|
||||
install -D -p -m 0755 flamegraph.riak-color.pl %{buildroot}%{erlang_appdir}/bin/flamegraph.riak-color.pl
|
||||
|
||||
%check
|
||||
%{erlang_test}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md README-Riak-Example.md
|
||||
%{erlang_appdir}/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 31 2020 wangyue <wangyue92@huawei.com> - 0-1
|
||||
- package init
|
||||
5
erlang-eflame.yaml
Normal file
5
erlang-eflame.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/slfritchie/eflame
|
||||
version_control: github
|
||||
src_repo: slfritchie/eflame
|
||||
tag_prefix: "^"
|
||||
seperator: ""
|
||||
Loading…
x
Reference in New Issue
Block a user