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.3.2 Release: 4 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 Patch: %bname-%version-git.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 %description Recon wants to be a set of tools usable in production to diagnose Erlang problems or inspect production environment safely. %prep %setup -q -n %bname-%version %patch -p1 sed -i -r '1s|^.*/env[[:blank:]]+(.*)$|#!%_bindir/\1|' docsite.erl script/*.erl sed -i -r '1s|^.*/env[[:blank:]]+(.*)$|#!/bin/\1|' script/*.sh %build echo '{erl_opts, [slim, inline, no_debug_info]}.' > %bname.rebar.config rebar -C %bname.rebar.config compile -v rebar -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 -d -m 0755 %buildroot%_otplibdir/%bname-%version/script install -p -m 0644 script/*.awk %buildroot%_otplibdir/%bname-%version/script/ install -p -m 0755 script/*.{sh,erl} %buildroot%_otplibdir/%bname-%version/script/ install -p -m 0755 %{S:1} %buildroot%_otplibdir/%bname-%version/script/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,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/ %if 0 %check rebar -C %bname.rebar.config ct %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * 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