Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
eredis
eredis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eredis.spec of Package eredis
%define bname eredis Name: %bname Version: 1.7.1 Release: 2 Summary: Non-blocking Redis client for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/Nordix/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: 0001-Turn-repeated-errors-into-notice-and-replace-error_l.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # check BuildRequires: redis BuildRequires: erlang-common_test %description Non-blocking Redis client for Erlang with focus on performance and robustness. Supported Redis features: - Any command, through eredis:q/2 - Transactions - Pipelining - Authentication & multiple dbs - Pubsub %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %name < 1.1.0-1 %description devel Non-blocking Redis client for Erlang with focus on performance and robustness. This package contains headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.1.0-1 %description doc Non-blocking Redis client for Erlang with focus on performance and robustness. This pacjage contains documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %if %_otp_release < 21 %patch1 -p1 -R %endif rm -f src/basho_* erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~81p}.~n", [lists:keydelete(maintainers, 1, L)]), [raw]), init:stop().' %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:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, case lists:keyfind(edoc_opts, 1, L) of {_, O} -> lists:keyreplace(edoc_opts, 1, L, {edoc_opts, lists:keydelete(doclet, 1, O)}); _ -> L end, [deps, plugins])), [raw]), init:stop().' 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 install -p -m 0644 AUTHORS *.md doc/*.md %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check PATH=%_sbindir${PATH:+:$PATH} redis-server & ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit && rc=0 || rc=1 kill %%1 exit $rc %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 * Sun Oct 08 2023 Led <ledest@gmail.com> 1.7.1-2 - add patches: + 0001-Turn-repeated-errors-into-notice-and-replace-error_l.patch * Mon Sep 25 2023 Led <ledest@gmail.com> 1.7.1-1 - 1.7.1 * Mon Sep 25 2023 Led <ledest@gmail.com> 1.7.0-1 - 1.7.0 - git 7d9f67f * Mon Sep 25 2023 Led <ledest@gmail.com> 1.6.0-1 - 1.6.0 * Mon Sep 25 2023 Led <ledest@gmail.com> 1.5.1-2 - fix changelog * Mon Sep 25 2023 Led <ledest@gmail.com> 1.5.1-1 - 1.5.1 - git 38f91e7 * Sat Jul 02 2022 Led <ledest@gmail.com> 1.4.1-1 - 1.4.1 - git c5a4658 * Tue Sep 21 2021 Led <ledest@gmail.com> 1.3.3-1 - 1.3.3 - remove patches: + eredis-fix-doc-typo.patch - update URL * Fri Jun 14 2019 Led <ledest@gmail.com> 1.2.0-2 - git 6845ed5 * Mon Oct 29 2018 Led <ledest@gmail.com> 1.2.0-1 - 1.2.0 - git 6a8253f * Fri Dec 15 2017 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 - move headers and docs to separate subpackages * Fri Jun 16 2017 Led <ledest@gmail.com> 1.0.8-9 - git 0951eff - add patches: + eredis-fix-doc-typo.patch * Sun May 21 2017 Led <ledest@gmail.com> 1.0.8-8 - fix config * Sun May 21 2017 Led <ledest@gmail.com> 1.0.8-7 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.8-6 - update BuildRequires * Wed Mar 30 2016 Led <ledest@gmail.com> 1.0.8-5 - update %%check * Fri Mar 18 2016 Led <ledest@gmail.com> 1.0.8-4 - clean up BuildRequires * Tue Dec 01 2015 Led <ledest@gmail.com> 1.0.8-3 - git bf12ecb * Sat Jul 04 2015 Led <ledest@gmail.com> 1.0.8-2 - remove patches: + eredis-1.0.7-doc.patch - update patches: + eredis-1.0.8-git.patch * Fri May 29 2015 Led <ledest@gmail.com> 1.0.8-1 - 1.0.8 - add %%check section - add patches: + eredis-1.0.8-git.patch * Mon Apr 20 2015 Led <ledest@gmail.com> 1.0.7-2 - clean ups * Mon Apr 20 2015 Led <ledest@gmail.com> 1.0.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