Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
otpbp
otpbp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otpbp.spec of Package otpbp
%define bname otpbp Name: %bname Version: 4.10.0 Release: 1 Summary: Erlang OTP backports License: GPL-3.0+ Group: Development/Tools/Other URL: https://github.com/Ledest/%bname Source: %bname-%version.tar.xz BuildArch: noarch Provides: erlang-%bname = %version-%release Requires: erlang >= 1:18.0 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang >= 1:18.0 BuildRequires: erlang-kernel-devel >= 1:18.0 %description Erlang OTP backports. %package devel Summary: Headers and parse transformer of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 0.22.0 %description devel Erlang OTP backports. This package contains headers and parse transformer of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 0.22.0 %description doc Erlang OTP backports. This package contains documentation of %bname. %prep %setup -q -n %bname-%version %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().' 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 erl -noshell -eval ' Es = lists:foldl(fun(F, A) -> {ok, {M, [{exports, Fs}]}} = beam_lib:chunks(F, [exports]), case lists:sort(Fs) of [{module_info, 0}, {module_info, 1}] -> [M|A]; _ -> A end end, [], filelib:wildcard("./ebin/*.beam")), lists:foreach(fun(E) -> io:fwrite("%_otplibdir/%bname-%version/ebin/~s.beam~n", [E]) end, lists:sort(Es)), {ok, [{application, %bname, L}]} = file:consult("ebin/%bname.app"), {_, Ms} = lists:keyfind(modules, 1, L), file:write_file("ebin/%bname.app", io_lib:format("{application, %bname, ~81p}.~n", [lists:keyreplace(modules, 1, L, {modules, Ms -- Es})]), [raw]), init:stop().' | sed 's/^/%%exclude /' > exclude.list %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* TODO %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %files -f exclude.list %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %exclude %_otplibdir/%bname-*/include %exclude %_otplibdir/%bname-*/ebin/%{bname}_pt.* %files devel %defattr(-,root,root) %dir %_otplibdir/%bname-* %dir %_otplibdir/%bname-*/ebin %_otplibdir/%bname-*/include %_otplibdir/%bname-*/ebin/%{bname}_pt.* %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Wed Apr 14 2021 Led <ledest@gmail.com> 4.10.0-1 - 4.10.0 * Tue Apr 13 2021 Led <ledest@gmail.com> 4.9.0-1 - 4.9.0 * Tue Apr 13 2021 Led <ledest@gmail.com> 4.8.0-1 - 4.8.0 * Tue Apr 13 2021 Led <ledest@gmail.com> 4.7.0-1 - 4.7.0 * Tue Apr 13 2021 Led <ledest@gmail.com> 4.6.1-1 - 4.6.1 * Tue Mar 30 2021 Led <ledest@gmail.com> 4.6.0-1 - 4.6.0 * Mon Mar 22 2021 Led <ledest@gmail.com> 4.5.0-1 - 4.5.0 * Mon Mar 22 2021 Led <ledest@gmail.com> 4.4.1-1 - 4.4.1 * Sun Mar 21 2021 Led <ledest@gmail.com> 4.4.0-1 - 4.4.0 * Thu Mar 18 2021 Led <ledest@gmail.com> 4.3.3-1 - 4.3.3 * Tue Mar 16 2021 Led <ledest@gmail.com> 4.3.2-1 - 4.3.2 * Tue Mar 16 2021 Led <ledest@gmail.com> 4.3.1-1 - 4.3.1 * Sun Feb 21 2021 Led <ledest@gmail.com> 4.3.0-1 - 4.3.0 * Wed Feb 17 2021 Led <ledest@gmail.com> 4.2.0-1 - 4.2.0 * Sat Feb 13 2021 Led <ledest@gmail.com> 4.1.0-1 - 4.1.0 * Sat Feb 13 2021 Led <ledest@gmail.com> 4.0.2-1 - 4.0.2 * Sun Feb 07 2021 Led <ledest@gmail.com> 4.0.1-1 - 4.0.1 * Sun Feb 07 2021 Led <ledest@gmail.com> 4.0.0-1 - 4.0.0 * Sun Feb 07 2021 Led <ledest@gmail.com> 3.8.0-2 - fix BuildRequires * Thu Jan 14 2021 Led <ledest@gmail.com> 3.8.0-1 - 3.8.0 * Fri Dec 18 2020 Led <ledest@gmail.com> 3.7.0-1 - 3.7.0 * Tue Dec 01 2020 Led <ledest@gmail.com> 3.6.0-1 - 3.6.0 * Tue Dec 01 2020 Led <ledest@gmail.com> 3.5.0-1 - 3.5.0 * Mon Nov 30 2020 Led <ledest@gmail.com> 3.4.1-1 - 3.4.1 * Tue Nov 24 2020 Led <ledest@gmail.com> 3.4.0-1 - 3.4.0 - update BuildRequires * Mon Nov 02 2020 Led <ledest@gmail.com> 3.3.0-1 - 3.3.0 * Fri Oct 16 2020 Led <ledest@gmail.com> 3.2.2-1 - 3.2.2 * Fri Oct 16 2020 Led <ledest@gmail.com> 3.2.1-1 - 3.2.1 * Fri Oct 16 2020 Led <ledest@gmail.com> 3.2.0-1 - 3.2.0 * Fri Oct 09 2020 Led <ledest@gmail.com> 3.1.0-1 - 3.1.0 * Tue Jul 07 2020 Led <ledest@gmail.com> 3.0.1-1 - 3.0.1 * Sun May 31 2020 Led <ledest@gmail.com> 3.0.0-1 - 3.0.0 * Fri May 29 2020 Led <ledest@gmail.com> 2.5.0-1 - 2.5.0 * Tue May 19 2020 Led <ledest@gmail.com> 2.4.3-1 - 2.4.3 * Sat Mar 28 2020 Led <ledest@gmail.com> 2.4.2-1 - 2.4.2 * Sat Mar 28 2020 Led <ledest@gmail.com> 2.4.1-1 - 2.4.1 * Wed Mar 25 2020 Led <ledest@gmail.com> 2.4.0-1 - 2.4.0 * Thu Feb 27 2020 Led <ledest@gmail.com> 2.3.1-1 - 2.3.1 * Tue Feb 25 2020 Led <ledest@gmail.com> 2.3.0-1 - 2.3.0 * Fri Feb 21 2020 Led <ledest@gmail.com> 2.2.0-1 - 2.2.0 * Mon Feb 10 2020 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 * Thu Dec 19 2019 Led <ledest@gmail.com> 2.0.2-1 - 2.0.2 * Wed Dec 04 2019 Led <ledest@gmail.com> 2.0.1-1 - 2.0.1 * Sun Nov 17 2019 Led <ledest@gmail.com> 1.6.4-1 - 1.6.4 * Sat Nov 16 2019 Led <ledest@gmail.com> 1.6.3-1 - 1.6.3 * Sun Oct 27 2019 Led <ledest@gmail.com> 1.6.2-1 - 1.6.2 * Sat Oct 26 2019 Led <ledest@gmail.com> 1.6.1-1 - 1.6.1 * Sat Oct 12 2019 Led <ledest@gmail.com> 1.6.0-1 - 1.6.0 * Fri Sep 27 2019 Led <ledest@gmail.com> 1.5.0-1 - 1.5.0 * Sun Sep 15 2019 Led <ledest@gmail.com> 1.4.0-1 - 1.4.0 * Sat Sep 14 2019 Led <ledest@gmail.com> 1.3.1-1 - 1.3.1 * Thu Aug 29 2019 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 * Mon Aug 19 2019 Led <ledest@gmail.com> 1.2.1-1 - 1.2.1 * Thu Aug 15 2019 Led <ledest@gmail.com> 1.2.0-2 - don't exclude otpbp_pt from modules in otpbp.app * Wed Aug 14 2019 Led <ledest@gmail.com> 1.2.0-1 - 1.2.0 * Mon Jul 29 2019 Led <ledest@gmail.com> 1.1.0-4 - fix .app edition * Mon Jul 29 2019 Led <ledest@gmail.com> 1.1.0-3 - revert unicode_util module * Mon Jul 29 2019 Led <ledest@gmail.com> 1.1.0-2 - don't include empty modules * Sat Jul 27 2019 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 * Sat Jul 27 2019 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 * Mon Jul 08 2019 Led <ledest@gmail.com> 0.44.0-1 - 0.44.0 * Sun May 26 2019 Led <ledest@gmail.com> 0.43.0-1 - 0.43.0 * Sun May 26 2019 Led <ledest@gmail.com> 0.42.0-1 - 0.42.0 * Sun May 26 2019 Led <ledest@gmail.com> 0.41.0-1 - 0.41.0 * Thu Mar 21 2019 Led <ledest@gmail.com> 0.40.6-1 - 0.40.6 * Thu Jan 17 2019 Led <ledest@gmail.com> 0.40.5-1 - 0.40.5 * Fri Jan 04 2019 Led <ledest@gmail.com> 0.40.4-1 - 0.40.4 * Wed Dec 05 2018 Led <ledest@gmail.com> 0.40.3-1 - 0.40.3 - add %%check * Fri Nov 16 2018 Led <ledest@gmail.com> 0.40.2-1 - 0.40.2 * Tue Nov 06 2018 Led <ledest@gmail.com> 0.40.1-1 - 0.40.1 * Fri Sep 14 2018 Led <ledest@gmail.com> 0.40.0-1 - 0.40.0 * Fri Jul 27 2018 Led <ledest@gmail.com> 0.39.0-1 - 0.39.0 * Sat Jun 09 2018 Led <ledest@gmail.com> 0.38.2-1 - 0.38.2 * Sat Jun 09 2018 Led <ledest@gmail.com> 0.38.1-1 - 0.38.1 * Fri Jun 08 2018 Led <ledest@gmail.com> 0.38.0-1 - 0.38.0 * Mon Jun 04 2018 Led <ledest@gmail.com> 0.37.2-1 - 0.37.2 * Sun Jun 03 2018 Led <ledest@gmail.com> 0.37.1-1 - 0.37.1 * Mon May 14 2018 Led <ledest@gmail.com> 0.36.1-2 - add README to doc subpackage * Thu May 10 2018 Led <ledest@gmail.com> 0.36.1-1 - 0.36.1 * Sun Apr 29 2018 Led <ledest@gmail.com> 0.36.0-1 - 0.36.0 * Mon Mar 26 2018 Led <ledest@gmail.com> 0.35.0-1 - 0.35.0 * Tue Mar 20 2018 Led <ledest@gmail.com> 0.34.0-1 - 0.34.0 * Wed Mar 07 2018 Led <ledest@gmail.com> 0.33.0-1 - 0.33.0 * Sat Mar 03 2018 Led <ledest@gmail.com> 0.32.5-1 - 0.32.5 * Thu Mar 01 2018 Led <ledest@gmail.com> 0.32.4-1 - 0.32.4 * Fri Jan 19 2018 Led <ledest@gmail.com> 0.32.3-1 - 0.32.3 * Fri Jan 19 2018 Led <ledest@gmail.com> 0.32.2-1 - 0.32.2 * Tue Jan 16 2018 Led <ledest@gmail.com> 0.32.1-1 - 0.32.1 * Tue Jan 02 2018 Led <ledest@gmail.com> 0.32.0-1 - 0.32.0 * Thu Dec 14 2017 Led <ledest@gmail.com> 0.31.0-1 - 0.31.0 * Thu Dec 07 2017 Led <ledest@gmail.com> 0.30.1-1 - 0.30.1 * Fri Dec 01 2017 Led <ledest@gmail.com> 0.30.0-1 - 0.30.0 * Mon Nov 13 2017 Led <ledest@gmail.com> 0.29.1-1 - 0.29.1 * Mon Sep 18 2017 Led <ledest@gmail.com> 0.28.8-1 - 0.28.8 * Thu Jul 13 2017 Led <ledest@gmail.com> 0.28.7-1 - 0.28.7 * Sun Jun 25 2017 Led <ledest@gmail.com> 0.28.6-1 - 0.28.6 * Wed Jun 21 2017 Led <ledest@gmail.com> 0.28.5-1 - 0.28.5 * Fri Jun 16 2017 Led <ledest@gmail.com> 0.28.3-1 - 0.28.3 * Fri Jun 16 2017 Led <ledest@gmail.com> 0.28.2-1 - 0.28.2 * Fri Jun 16 2017 Led <ledest@gmail.com> 0.28.1-1 - 0.28.1 * Sun Jun 04 2017 Led <ledest@gmail.com> 0.28.0-1 - 0.28.0 * Wed May 31 2017 Led <ledest@gmail.com> 0.27.3-1 - 0.27.3 * Wed May 31 2017 Led <ledest@gmail.com> 0.27.2-1 - 0.27.2 * Wed May 31 2017 Led <ledest@gmail.com> 0.27.1-1 - 0.27.1 * Wed May 31 2017 Led <ledest@gmail.com> 0.27.0-1 - 0.27.0 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.7-2 - update %%files * Sun May 28 2017 Led <ledest@gmail.com> 0.26.7-1 - 0.26.7 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.6-1 - 0.26.6 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.5-1 - 0.26.5 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.4-1 - 0.26.4 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.3-1 - 0.26.3 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.2-1 - 0.26.2 * Sun May 28 2017 Led <ledest@gmail.com> 0.26.1-1 - 0.26.1 * Sat May 27 2017 Led <ledest@gmail.com> 0.26.0-1 - 0.26.0 * Sat May 27 2017 Led <ledest@gmail.com> 0.25.1-1 - 0.25.1 * Thu May 04 2017 Led <ledest@gmail.com> 0.25.0-1 - 0.25.0 * Tue Apr 11 2017 Led <ledest@gmail.com> 0.24.0-1 - 0.24.0 * Tue Mar 28 2017 Led <ledest@gmail.com> 0.23.1-1 - 0.23.1 * Sun Mar 12 2017 Led <ledest@gmail.com> 0.23.0-2 - cosmetic fix description * Sat Mar 11 2017 Led <ledest@gmail.com> 0.23.0-1 - 0.23.0 * Sat Feb 25 2017 Led <ledest@gmail.com> 0.22.1-2 - add Conflicts * Fri Feb 24 2017 Led <ledest@gmail.com> 0.22.1-1 - 0.22.1 - move docs to doc subpackage - move parse transformer to devel subpackage * Wed Feb 01 2017 Led <ledest@gmail.com> 0.20.2-1 - 0.20.2 * Sat Jan 28 2017 Led <ledest@gmail.com> 0.20.1-1 - 0.20.1 * Mon Dec 19 2016 Led <ledest@gmail.com> 0.20.0-1 - 0.20.0 * Sun Dec 04 2016 Led <ledest@gmail.com> 0.19.0-1 - 0.19.0 * Sat Aug 27 2016 Led <ledest@gmail.com> 0.16.7-1 - 0.16.7 * Fri Aug 26 2016 Led <ledest@gmail.com> 0.16.6-1 - 0.16.6 * Wed May 11 2016 Led <ledest@gmail.com> 0.16.5-1 - 0.16.5 * Tue Apr 26 2016 Led <ledest@gmail.com> 0.13.1-2 - fix build docs * Tue Apr 26 2016 Led <ledest@gmail.com> 0.13.1-1 - 0.13.1 * Tue Mar 22 2016 Led <ledest@gmail.com> 0.12.7-2 - add URL * Tue Mar 22 2016 Led <ledest@gmail.com> 0.12.7-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