Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
recon
recon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File recon.spec of Package recon
%define bname recon Name: %bname Version: 2.5.4 Release: 3 Summary: Collection of functions and scripts to debug Erlang in production License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/ferd/%bname Source0: %bname-%version.tar.xz Source1: erl_crashdump_analyzer.sh Patch0: %bname-%version-git.patch Patch11: %bname-2.3.6-otp_release.patch Patch12: %bname-2.5.4-shebang.patch Patch13: %bname-2.5.4-allocators.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # check BuildRequires: erlang-common_test epmd %description Recon wants to be a set of tools usable in production to diagnose Erlang problems or inspect production environment safely. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 2.3.5-2 %description doc Recon wants to be a set of tools usable in production to diagnose Erlang problems or inspect production environment safely. This package contains documentation of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~81p}.~n", [lists:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, L, [links, build_tools, files])]), [raw]), init:stop().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,verbose]" rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -pD -m 0755 %{S:1} %buildroot%_bindir/erl_crashdump_analyzer.sh install -d -m 0755 %buildroot%_otplibdir/%bname-%version/script install -p -m 0644 script/*.awk %buildroot%_otplibdir/%bname-%version/script/ install -p -m 0755 script/*.erl %buildroot%_otplibdir/%bname-%version/script/ ln -sf %_bindir/erl_crashdump_analyzer.sh %buildroot%_otplibdir/%bname-%version/script/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.css doc/*.html doc/*.png %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%name-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 *.md %buildroot%_docdir/%name/ %check rebar -C %bname.rebar.config clean export ERL_COMPILER_OPTIONS="[inline,{d,'TEST'}]" rebar -C %bname.rebar.config %{?_smp_mflags} compile rebar -C %bname.rebar.config ct %files %defattr(-,root,root) %_bindir/* %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat Oct 07 2023 Led <ledest@gmail.com> 2.5.4-3 - add patches: + recon-2.5.4-shebang.patch + recon-2.5.4-allocators.patch * Sat Oct 07 2023 Led <ledest@gmail.com> 2.5.4-2 - git fab61ce * Sat Oct 07 2023 Led <ledest@gmail.com> 2.5.4-1 - 2.5.4 * Tue Feb 07 2023 Led <ledest@gmail.com> 2.5.3-1 - 2.5.3 * Sun Aug 22 2021 Led <ledest@gmail.com> 2.5.2-1 - 2.5.2 - git a1736a8 * Mon Jul 20 2020 Led <ledest@gmail.com> 2.5.1-1 - 2.5.1 - git 46b85c0 * Mon Apr 27 2020 Led <ledest@gmail.com> 2.5.0-2 - git b08b35b * Sun Oct 06 2019 Led <ledest@gmail.com> 2.5.0-1 - 2.5.0 - git 1ddebb6 - remove patches: + 0001-Add-support-for-OTP-22.patch - move erl_crashdump_analyzer.sh to %%_bindir * Sun Oct 06 2019 Led <ledest@gmail.com> 2.4.0-1 - 2.4.0 * Sun Jul 07 2019 Led <ledest@gmail.com> 2.3.6-2 - add patches: + 0001-Add-support-for-OTP-22.patch * Wed Jun 26 2019 Led <ledest@gmail.com> 2.3.6-1 - 2.3.6 - add patches: + recon-2.3.6-otp_release.patch * Wed Oct 10 2018 Led <ledest@gmail.com> 2.3.5-2 - move docs to separate subpackage * Fri Sep 28 2018 Led <ledest@gmail.com> 2.3.5-1 - 2.3.5 - git 5838f71 - update Buildrequires - enable %%check * Wed Jan 31 2018 Led <ledest@gmail.com> 2.3.4-1 - 2.3.4 * Wed Oct 11 2017 Led <ledest@gmail.com> 2.3.2-5 - git 6e420aa * Mon Jan 16 2017 Led <ledest@gmail.com> 2.3.2-4 - alternate erl_crashdump_analyzer.sh * Mon Jan 16 2017 Led <ledest@gmail.com> 2.3.2-3 - fix shebang in bash scripts * Sun Jan 15 2017 Led <ledest@gmail.com> 2.3.2-2 - add scripts * Sun Jan 15 2017 Led <ledest@gmail.com> 2.3.2-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor