Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
amqp_client
amqp_client.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File amqp_client.spec of Package amqp_client
%def_disable check %define bname amqp_client Name: %bname %define dname rabbitmq-erlang-client Summary: Erlang client for RabbitMQ Version: 3.6.16 Release: 10 License: MPL-1.1 Group: Development/Tools/Other URL: https://github.com/rabbitmq/%dname Source: %dname-%version.tar.xz #Patch0: %dname-%version-git.patch Patch1: 0001-Don-t-use-time_compat.patch Patch2: 0002-Use-rand-directly-in-master-because-we-require-Erlan.patch Patch3: 0003-Makefile-Remove-the-Hex.pm-maintainers-field-from-.a.patch Patch11: rabbitmq-erlang-client-amqp_connection-ensure_started.patch Provides: erlang-%bname = %version-%release Provides: %dname = %version-%release BuildArch: noarch Requires: erlang >= 1:18 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang >= 1:18 BuildRequires: erlang-edoc >= 1:18 BuildRequires: erlang-rabbit_common-devel >= 3.6.13 %if_enabled check # check BuildRequires: erlang-common_test-devel >= 1:18 BuildRequires: ct_run >= 1:18 BuildRequires: rabbitmq_server >= 3.6 BuildRequires: rabbitmq_ct_helpers >= 3.6.13 %endif %description Erlang client for RabbitMQ. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Requires: rabbit_common-devel >= 3.6.13 Conflicts: %name < 3.6.16-5 %description devel Erlang client for RabbitMQ. This package contains headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 3.6.16-5 %description doc Erlang client for RabbitMQ. This package contains documentation of %bname. %prep %setup -q -n %dname-%version #patch0 -p1 %patch -p1 -P 1 -P 2 -P 3 %patch11 -p1 sed -i '/^DEPS/s/^/LOCAL_/' Makefile %build make %{?_smp_mflags} SKIP_DEPS=1 DEPS_DIR=%_datadir RABBITMQ_VERSION="%version" V=1 \ ERL_COMPILER_OPTIONS='[inline]' \ all docs erl -noshell -eval ' {ok, [{application, N, L}]} = file:consult("ebin/%bname.app"), file:write_file("ebin/%bname.app", io_lib:format("{application, ~p, ~111p}.~n", [N, lists:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, L, [build_tools, files])]), [raw]), init:stop().' %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%_docdir/%name install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.css doc/*.html doc/*.png %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %if_enabled check %check make SKIP_DEPS=1 DEPS_DIR=%_datadir ct %endif %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/include %exclude %_otplibdir/%bname-*/doc %files devel %defattr(-,root,root) %dir %_otplibdir/%bname-* %_otplibdir/%bname-*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Mon Aug 07 2023 Led <ledest@gmail.com> 3.6.16-10 - clean up docs * Mon Aug 07 2023 Led <ledest@gmail.com> 3.6.16-9 - update Requires and BuildRequires * Mon Aug 07 2023 Led <ledest@gmail.com> 3.6.16-8 - clean up BuildRequires * Mon Aug 07 2023 Led <ledest@gmail.com> 3.6.16-7 - remove patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch - add patches: + 0001-Don-t-use-time_compat.patch + 0002-Use-rand-directly-in-master-because-we-require-Erlan.patch + 0003-Makefile-Remove-the-Hex.pm-maintainers-field-from-.a.patch * Thu Aug 03 2023 Led <ledest@gmail.com> 3.6.16-6 - add Provides * Thu Jul 11 2019 Led <ledest@gmail.com> 3.6.16-5 - move docs and headers to separate subpackages * Thu Jul 11 2019 Led <ledest@gmail.com> 3.6.16-4 - revert Requires * Wed Jul 10 2019 Led <ledest@gmail.com> 3.6.16-3 - fix Requires * Tue Aug 21 2018 Led <ledest@gmail.com> 3.6.16-2 - clean up spec * Sun Jul 15 2018 Led <ledest@gmail.com> 3.6.16-1 - 3.6.16 - update patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch * Wed Jan 17 2018 Led <ledest@gmail.com> 3.6.15-1 - 3.6.15 * Tue Nov 07 2017 Led <ledest@gmail.com> 3.6.14-1 - 3.6.14 - update patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch * Sun Oct 29 2017 Led <ledest@gmail.com> 3.6.12-2 - git ccb68b1 - add patches: + rabbitmq-erlang-client-amqp_connection-ensure_started.patch * Tue Sep 12 2017 Led <ledest@gmail.com> 3.6.12-1 - 3.6.12 * Fri Aug 25 2017 Led <ledest@gmail.com> 3.6.11-3 - remove slim option * Fri Aug 18 2017 Led <ledest@gmail.com> 3.6.11-2 - update BuildRequires * Fri Aug 18 2017 Led <ledest@gmail.com> 3.6.11-1 - 3.6.11 - remove patches: + 0001-amqp_channel_sup_sup-Set-amqp_channel_sup-restart-st.patch + 0002-amqp_network_connection-Expect-the-socket_closed-jus.patch * Mon Jul 31 2017 Led <ledest@gmail.com> 3.6.10-5 - add patches: + 0001-amqp_channel_sup_sup-Set-amqp_channel_sup-restart-st.patch + 0002-amqp_network_connection-Expect-the-socket_closed-jus.patch * Fri May 26 2017 Led <ledest@gmail.com> 3.6.10-4 - revert BuildRequires * Fri May 26 2017 Led <ledest@gmail.com> 3.6.10-3 - update BuildRequires * Fri May 26 2017 Led <ledest@gmail.com> 3.6.10-2 - remove file_handle_cache from erlang_req_beam_skiplist * Thu May 25 2017 Led <ledest@gmail.com> 3.6.10-1 - 3.6.10 - update patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch * Sun Apr 30 2017 Led <ledest@gmail.com> 3.6.9-5 - update patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch * Sun Apr 30 2017 Led <ledest@gmail.com> 3.6.9-4 - add patches: + 0001-clean-up-workarounds-for-Erlang-OTP-18.patch * Wed Apr 26 2017 Led <ledest@gmail.com> 3.6.9-3 - add file_handle_cache to erlang_req_beam_skiplist * Mon Apr 24 2017 Led <ledest@gmail.com> 3.6.9-2 - Makefile: replace DEPS to LOCAL_DEPS * Fri Apr 14 2017 Led <ledest@gmail.com> 3.6.9-1 - 3.6.9 - git 6f60143 * Sun Mar 19 2017 Led <ledest@gmail.com> 3.6.8-1 - 3.6.8 * Sat Nov 26 2016 Led <ledest@gmail.com> 3.6.6-1 - 3.6.6 * Thu Nov 24 2016 Led <ledest@gmail.com> 3.6.5-4 - clean up BuildRequires * Mon Nov 14 2016 Led <ledest@gmail.com> 3.6.5-3 - fix typo in Requires * Mon Nov 14 2016 Led <ledest@gmail.com> 3.6.5-2 - add Requires * Mon Nov 14 2016 Led <ledest@gmail.com> 3.6.5-1 - 3.6.5 - add Provides * Mon Aug 08 2016 Led <ledest@gmail.com> 3.6.4-1 - 3.6.4 * Sun Jul 24 2016 Led <ledest@gmail.com> 3.6.3-1 - 3.6.3 * Wed Jun 15 2016 Led <ledest@gmail.com> 3.6.2-5 - add vsn to app file * Sun Jun 12 2016 Led <ledest@gmail.com> 3.6.2-4 - without debug_info * Sun Jun 12 2016 Led <ledest@gmail.com> 3.6.2-3 - clean up BuildRequires * Sun Jun 12 2016 Led <ledest@gmail.com> 3.6.2-2 - parallel build * Sun Jun 12 2016 Led <ledest@gmail.com> 3.6.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