Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
cpg
cpg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpg.spec of Package cpg
%define bname cpg Name: %bname Version: 1.8.0 Release: 6 Summary: CloudI Process Groups License: MIT Group: Development/Tools/Other URL: https://github.com/okeuday/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch01: 0001-replace-quickrand-to-rand.patch Patch02: 0002-remove-reltool_util-deps.patch Patch03: 0003-replace-trie-to-dict-as-default-group_storage-remove.patch Patch04: 0004-add-ebin-doc-.rebar-to-.gitignore.patch Patch05: 0005-cpg-replace-maps-take-2-for-compatibility-of-Erlang-.patch Patch06: 0006-rebar.config-add-require_otp_vsn.patch Patch07: 0007-rebar.config-add-platform_define-for-Erlang-OTP-18-t.patch Patch08: 0008-Erlang-OTP-18-compatable-map-type-syntax.patch Patch09: 0009-README.md-update-travis-ci-link.patch Patch10: 0010-.travis.yml-add-Erlang-OTP-18.3-disable-notification.patch Patch11: 0011-update-.travis.yml.patch Patch12: 0012-.travis.yml-fix-script.patch Patch13: 0013-add-rebar.config.script-for-build-docs.patch Patch14: 0014-cpg_callbacks-add-ERLANG_OTP_VERSION_18-to-feature-c.patch Patch15: 0015-rebar.config-add-22-to-require_otp_vsn.patch Patch16: 0016-rebar.config-add-23-to-require_otp_vsn.patch Patch17: 0017-rebar.config-add-24-to-require_otp_vsn.patch Patch18: 0018-rebar.config-add-25-to-require_otp_vsn.patch Patch19: 0019-rebar.config-add-26-to-require_otp_vsn.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.4-26 %description CPG provides a process group interface that is similar to the pg2 module within Erlang OTP. The cpg interface provides more error checking than the pg2 module, and it allows the user to obtain the groups state so that group name lookups do not require a message to the cpg scope process. The cpg scope is a locally registered process name used to provide all the group names with a scope. By avoiding a message to the cpg scope process, contention for the single process message queue can be avoided. %package devel Summary: Headers of %bname Group: Development/Tools/Other %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release %description doc Documentation of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %patch -p1 -P 01 -P 02 -P 03 -P 04 -P 05 -P 06 -P 07 -P 08 -P 09 -P 10 -P 11 -P 12 -P 13 -P 14 -P 15 -P 16 -P 17 -P18 -P19 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), ".\n"] end, lists:keystore(edoc_opts, 1, lists:keydelete(deps, 1, L), {edoc_opts, case lists:keyfind(edoc_opts, 1, L) of {_, [_|_] = O} -> lists:foldl(fun(E, A) -> lists:keystore(E, 1, A, {E, true}) end, O, [new, preprocess]); _ -> [{new, true}, {preprocess, true}] end})), [raw]), init:stop().' ln -sf rebar.config.script %bname.rebar.config.script 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 -d -m 0755 %buildroot%_otplibdir/%bname-%version/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ 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/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %exclude %_otplibdir/*/include %files devel %defattr(-,root,root) %dir %_otplibdir %_otplibdir/*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat Sep 02 2023 Led <ledest@gmail.com> 1.8.0-6 - add patches: + 0019-rebar.config-add-26-to-require_otp_vsn.patch * Mon Feb 13 2023 Led <ledest@gmail.com> 1.8.0-5 - add patches: + 0018-rebar.config-add-25-to-require_otp_vsn.patch * Sat Aug 21 2021 Led <ledest@gmail.com> 1.8.0-4 - add patches: + 0017-rebar.config-add-24-to-require_otp_vsn.patch * Tue May 19 2020 Led <ledest@gmail.com> 1.8.0-3 - add patches: + 0016-rebar.config-add-23-to-require_otp_vsn.patch * Sat Mar 07 2020 Led <ledest@gmail.com> 1.8.0-2 - git 980bc6f * Sat Feb 15 2020 Led <ledest@gmail.com> 1.8.0-1 - 1.8.0 - git 07f8ecf - update patches - add patches: + 0015-rebar.config-add-22-to-require_otp_vsn.patch * Sun Jul 07 2019 Led <ledest@gmail.com> 1.7.5-4 - update patches: + 0006-rebar.config-add-require_otp_vsn.patch * Thu Apr 25 2019 Led <ledest@gmail.com> 1.7.5-3 - add patches: + 0014-cpg_callbacks-add-ERLANG_OTP_VERSION_18-to-feature-c.patch * Mon Mar 25 2019 Led <ledest@gmail.com> 1.7.5-2 - add {new, true} to edoc_opts - update BuildRequires * Sun Feb 24 2019 Led <ledest@gmail.com> 1.7.5-1 - 1.7.5 - remove patches: + 0013-cpg_logging-fix-ERLANG_OTP_VERSION_21_FEATURES-defin.patch * Sun Nov 11 2018 Led <ledest@gmail.com> 1.7.4-3 - git eecdb1a * Mon Oct 29 2018 Led <ledest@gmail.com> 1.7.4-2 - add patches: + 0014-add-rebar.config.script-for-build-docs.patch * Mon Oct 29 2018 Led <ledest@gmail.com> 1.7.4-1 - 1.7.4 - update patchset * Sat Nov 04 2017 Led <ledest@gmail.com> 1.7.2-9 - git 72a35ef - update patches: + 0009-cpg-replace-maps-take-2-for-compatibility-of-Erlang-.patch * Wed Oct 18 2017 Led <ledest@gmail.com> 1.7.2-8 - add patches: + 0009-cpg-replace-maps-take-2-for-compatibility-of-Erlang-.patch * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-7 - remove erlang_req_beam_skiplist * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-6 - remove patches: + 0007-rebar.config-remove-require_otp_vsn.patch - add patches: + 0007-rebar.config-update-require_otp_vsn.patch * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-5 - add patches: + 0008-fix-map-syntax-of-record-definition.patch * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-4 - add patches: + 0006-replace-erlang-now-0-and-erlang-timestamp-0-to-os-ti.patch + 0007-rebar.config-remove-require_otp_vsn.patch * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-3 - fix URL * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.2-2 - add trie to erlang_req_beam_skiplist * Sun Sep 24 2017 Led <ledest@gmail.com> 1.7.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