Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:21
rabbitmqctl
rabbitmqctl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rabbitmqctl.spec of Package rabbitmqctl
%define bname rabbitmqctl %define tname rabbitmq-cli Name: %bname Version: 3.7.27 Release: 2 Summary: Command line tools for RabbitMQ License: MPL-2.0 Group: Development/Tools/Other URL: https://github.com/rabbitmq/%tname Source: %tname-%version.tar.xz #Patch0: %tname-%version-git.patch Patch1: %tname-3.7.27-elixir-1.13.patch Patch2: 0002-mix-format-rabbitmq_cli.patch Patch3: 0003-Update-elixir-logger-config-for-1.15.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Provides: %tname = %version-%release Requires: elixir >= 1.6.6 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang-kernel-devel BuildRequires: erlang-stdout_formatter-devel BuildRequires: elixir-mix elixir-hex BuildRequires: elixir >= 1.6.6 BuildRequires: erlang-rabbit_common-devel >= 3.7.10 BuildRequires: elixir-csv >= 2.0.0 BuildRequires: unzip %description Command line tools for RabbitMQ. Team RabbitMQ wanted a set of tools that - Was extensible from/with plugins - Supported pluggable output formats (in particular machine-friendly ones) - Had good test coverage - Wasn't as coupled to the server repository - Could be used as a low risk vehicle for Elixir evaluation %prep %setup -q -n %tname-%version #patch -p1 -P0 %patch -p1 -P1 %patch -p3 -P2 -P3 rm -f lib/rabbitmq/cli/ctl/commands/hipe_compile_command.ex test/ctl/hipe_compile_command_test.exs sed -i -r '/^DEPS/s/^/LOCAL_/;/^BUILD_DEPS/s/^/#/' Makefile sed -i \ -e '/^ deps:/a\ prune_code_paths: false,' \ -e '/^ deps:/s/: /&[], # /' \ -e '/^ elixir:/s/ and <.*"/"/' \ -e '/^ emu_args:/a\ shebang: "#!%__escript\n",' \ mix.exs %build export LANG=en_US.UTF-8 make %{?_smp_mflags} SKIP_DEPS=1 ERL_COMPILER_OPTIONS='[inline,verbose]' V=1 app sed -n \ -e '1,3p' \ -e '4,$w escript/%bname.zip' \ escript/%bname > escript/%bname.escript unzip -p escript/%bname.zip %{bname}_escript.beam >> escript/%bname.escript rm -f escript/%bname.zip %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 COMMAND_TUTORIAL* CONTRIBUTING* DESIGN* README* %buildroot%_docdir/%name/ install -d -m 0755 %buildroot%_bindir install -p -m 0755 escript/%bname.escript %buildroot%_bindir/%bname ln -sf %bname %buildroot%_bindir/rabbitmq-plugins ln -sf %bname %buildroot%_bindir/rabbitmq-diagnostics %add_erlang_req_beam_skiplist %(echo Elixir.Rabbitmq.Atom.Coerce.{Float,Function,Integer,Map,PID,Port,Reference,Tuple}) %files %defattr(-,root,root) %doc %_docdir/%name %_bindir/* %_otplibdir/* %changelog * Sat Apr 27 2024 Led <ledest@gmail.com> 3.7.27-2 - add patches: + rabbitmq-cli-3.7.27-elixir-1.13.patch * Sat Apr 27 2024 Led <ledest@gmail.com> 3.7.27-1 - 3.7.27 - update BuildRequires * Sat Apr 27 2024 Led <ledest@gmail.com> 3.7.16-1 - 3.7.16 - remove patches: + 0001-Elixir-1.13-OptionParser-no-longer-supports-atom-val.patch - update BuildRequires * Wed Aug 09 2023 Led <ledest@gmail.com> 3.7.10-2 - update patches: + 0001-Elixir-1.13-OptionParser-no-longer-supports-atom-val.patch * Tue Aug 08 2023 Led <ledest@gmail.com> 3.7.10-1 - 3.7.10
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