Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
rpm-build-erlang
rpm-build-erlang.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpm-build-erlang.spec of Package rpm-build-erlang
%define mname erlang Name: rpm-build-%mname Version: 0.17.2 Release: 1 Summary: RPM helper scripts to calculate Erlang dependencies License: GPL-3.0+ Group: Development/Tools/Building Source0: %{mname}_app_req.erl Source1: %{mname}_mod_req.c Source2: app.attr Source3: beam.attr Source4: find-otp-provides.sh Source5: brp-otp.in Source6: brp-strip-erlang-beam.in Source7: strip_beam.escript Requires: rpm file Requires: rpm-macros-extra >= 1.1.0 Requires: rpm-macros-%mname >= 0.10.0 BuildRequires: rpm-macros-erlang BuildRequires: zlib-devel %description These herlper scripts will look at Erlang modules (*.beam) and apps (*.app) in your package, and will use this information to generate automatic Requires and Provides tags for the package. %prep %setup -q -cT install -p -m 0644 %{S:1} ./erlang_mod_req.c install -p -m 0644 %{S:5} ./brp-otp.in install -p -m 0644 %{S:6} ./brp-strip-erlang-beam.in %build %__cc -Wall %optflags -o erlang_mod_req erlang_mod_req.c -lz sed 's|@otplibdir@|%_otplibdir|g' brp-otp.in > brp-otp sed 's|@rpmconfigdir@|%_rpmconfigdir|g;s|@otplibdir@|%_otplibdir|g' brp-strip-erlang-beam.in > brp-strip-erlang-beam %install install -d -m 0755 %buildroot%_rpmconfigdir/brp.d install -p -m 0755 brp-otp brp-strip-erlang-beam %buildroot%_rpmconfigdir/brp.d/ install -p -m 0644 %{S:0} %{S:7} %buildroot%_rpmconfigdir/ install -p -m 0755 erlang_mod_req %buildroot%_rpmconfigdir/ install -d -m 0755 %buildroot%_fileattrsdir install -p -m 0644 %{S:2} %{S:3} %buildroot%_fileattrsdir/ install -p -m 0755 %{S:4} %buildroot%_rpmconfigdir/find-otp-provides %files %defattr(-,root,root) %_rpmconfigdir/find-otp-provides %_rpmconfigdir/erlang_* %_rpmconfigdir/*.escript %_rpmconfigdir/brp.d/* %_fileattrsdir/* %changelog * Mon Sep 06 2021 Led <ledest@gmail.com> 0.17.2-1 - 0.17.2: + fix RPM_ERLANG_REQ_BEAM_SKIPLIST support in erlang_mod_req * Mon Jul 13 2020 Led <ledest@gmail.com> 0.17.1-1 - 0.17.1: + update app.attr for recent file(1) * Mon Sep 09 2018 Led <ledest@gmail.com> 0.17.0-1 - 0.17.0: + strip_beam.escript: add Dbgi to excluded chunks * Wed Apr 25 2018 Led <ledest@gmail.com> 0.16.15-1 - 0.16.15: + fix find-otp-provides.sh for support libs without version * Fri Nov 03 2017 Led <ledest@gmail.com> 0.16.14-4 - fix %%install and %%files * Fri Nov 03 2017 Led <ledest@gmail.com> 0.16.14-3 - fix %%files * Mon Aug 28 2017 Led <ledest@gmail.com> 0.16.14-2 - fix %%files * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.14-1 - 0.16.14: + update brp-strip-erlang-beam + update strip_beam.escript * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.13-1 - 0.16.13: + update brp-strip-erlang-beam + add strip_beam.escript * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.12-1 - 0.16.12: + update erlang_mod_req.c * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.11-1 - 0.16.11: + update brp-strip-erlang-beam * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.10-2 - fix %%files * Sun Aug 27 2017 Led <ledest@gmail.com> 0.16.10-1 - 0.16.10: + brp-strip-erlang-beam: strip chunks "Abst", "LocT", "CInf" only * Fri Aug 25 2017 Led <ledest@gmail.com> 0.16.9-1 - 0.16.9: + fix typo in brp-strip-erlang-beam * Fri Aug 25 2017 Led <ledest@gmail.com> 0.16.8-1 - 0.16.8: + update brp-strip-erlang-beam * Sun Aug 20 2017 Led <ledest@gmail.com> 0.16.7-2 - fix %%files * Sun Aug 20 2017 Led <ledest@gmail.com> 0.16.7-1 - 0.16.7: + add brp-strip-erlang-beam * Sun Aug 20 2017 Led <ledest@gmail.com> 0.16.6-2 - move brp-otp to brp.d/ * Mon Aug 14 2017 Led <ledest@gmail.com> 0.16.6-1 - 0.16.6: + improve brp-otp.in * Mon Aug 14 2017 Led <ledest@gmail.com> 0.16.5-1 - 0.16.5: + fix typo in brp-otp.in * Mon Aug 14 2017 Led <ledest@gmail.com> 0.16.4-1 - 0.16.4: + shrink brp-otp.in * Mon Aug 14 2017 Led <ledest@gmail.com> 0.16.3-1 - 0.16.3: + fix typo in beam.attr * Sun May 21 2017 Led <ledest@gmail.com> 0.16.2-1 - 0.16.2: + update erlang_mod_req.c * Sun May 21 2017 Led <ledest@gmail.com> 0.16.1-1 - 0.16.1: + fix erlang_mod_req.c * Mon Mar 27 2017 Led <ledest@gmail.com> 0.16.0-1 - 0.16.0: + add support 'AtU8' atom chunk (Erlang/OTP >= 20) * Sat Jun 18 2016 Led <ledest@gmail.com> 0.15.1-1 - 0.15.1: + add missing includes to erlang_mod_req.c * Sat Jun 18 2016 Led <ledest@gmail.com> 0.15.0-1 - 0.15.0: + rewrite erlang_mod_req on C * Sat Apr 09 2016 Led <ledest@gmail.com> 0.14.0-1 - 0.14.0: + split erlang_req.erl to erlang_app_req.erl and erlang_mod_req.erl * Mon Feb 29 2016 Led <ledest@gmail.com> 0.13.1-1 - 0.13.1: + erlang_req.erl: fix requires_app/2 * Mon Feb 29 2016 Led <ledest@gmail.com> 0.13.0-1 - 0.13.0: + replace ordsets to sets in erlang_req.erl * Sun Jan 31 2016 Led <ledest@gmail.com> 0.12.0-1 - 0.12.0: + use escript for find requires + clean up erlang_req.erl * Sat Aug 01 2015 Led <ledest@gmail.com> 0.11.0-4 - fix %%files * Thu Jul 16 2015 Led <ledest@gmail.com> 0.11.0-3 - fix BuildRequires * Thu Jul 16 2015 Led <ledest@gmail.com> 0.11.0-2 - fix %%files * Thu Jul 16 2015 Led <ledest@gmail.com> 0.11.0-1 - 0.11.0: + add brp-otp * Sat Jul 04 2015 Led <ledest@gmail.com> 0.10.0-2 - fix requires * Sat Jul 04 2015 Led <ledest@gmail.com> 0.10.0-1 - 0.10.0: + use RPM_ERLANG_REQ_APP_SKIPLIST env variable in app.attr * Mon Apr 13 2015 Led <ledest@gmail.com> 0.9.9-1 - fix app.attr - update erlang_req * Wed Jan 14 2015 Led <ledest@gmail.com> 0.9.8-1 - 0.9.8: + fix using RPM_ERLANG_REQ_BEAM_SKIPLIST env variable in beam.attr * Wed Jan 14 2015 Led <ledest@gmail.com> 0.9.7-1 - 0.9.7: + fix using RPM_ERLANG_REQ_BEAM_SKIPLIST env variable in beam.attr * Mon Jan 12 2015 Led <ledest@gmail.com> 0.9.6-1 - 0.9.6: + use RPM_ERLANG_REQ_BEAM_SKIPLIST env variable in beam.attr - requires rpm-macros-erlang >= 0.8.0 * Mon Jan 12 2015 Led <ledest@gmail.com> 0.9.5-1 - 0.9.5: + fix find-otp-provides.sh for *.app + change erlang_mod(...) to erlang_beam(...) for *.beam provides/requires * Mon Jan 12 2015 Led <ledest@gmail.com> 0.9.4-1 - 0.9.4: + fix using erlanq_req only if erlanq_req.beam exists * Sun Jan 11 2015 Led <ledest@gmail.com> 0.9.3-1 - 0.9.3: + fix using erlanq_req only if erlanq_req.beam exists * Sun Jan 11 2015 Led <ledest@gmail.com> 0.9.2-1 - 0.9.2: + use erlanq_req only if erlanq_req.beam exists * Sun Jan 11 2015 Led <ledest@gmail.com> 0.9.1-1 - 0.9.1: + fix output error messages * Sat Jan 10 2015 Led <ledest@gmail.com> 0.9.0-1 - 0.9.0: + remade for use with rpm internal dependency generator - clean up spec * Fri Mar 30 2012 Led <led@massivesolutions.co.uk> 0.8.6-1 - added erlang.magic for 'file(1)' that don't know about .beam files * Sun Feb 12 2012 Led <led@massivesolutions.co.uk> 0.8.5-1 - 0.8.5: + simplified erlang_req.erl * Sun Feb 12 2012 Led <led@massivesolutions.co.uk> 0.8.4-1 - 0.8.4: + simplified find-erlang-provides * Sun Feb 12 2012 Led <led@massivesolutions.co.uk> 0.8.3-1 - 0.8.3: + simplified find-erlang-provides * Sun Feb 12 2012 Led <led@massivesolutions.co.uk> 0.8.2-1 - 0.8.2: + simplified find-erlang-requires * Sun Feb 12 2012 Led <led@massivesolutions.co.uk> 0.8.1-1 - 0.8.1: + clean up and simplified code + don't require self-provided modules and app's * Fri Feb 10 2012 Led <led@massivesolutions.co.uk> 0.8.0-0 - initial build for openSUSE
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