Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
eredis
eredis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eredis.spec of Package eredis
%define bname eredis Name: %bname Version: 1.0.8 Release: 5 Summary: Non-blocking Redis client for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/wooga/%bname Source: %bname-%version.tar.xz Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 # For check section BuildRequires: redis %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 %prep %setup -q -n %bname-%version %patch -p1 rm -f src/basho_* %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> io_lib:format("~p.~n", [E]) end, [{erl_opts, [slim,inline|proplists:get_value(erl_opts, L)]}|proplists:delete(erl_opts, L)])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %install for i in ebin include; do install -d -m 0755 %buildroot%_otplibdir/%bname-%version/$i install -p -m 0644 $i/* %buildroot%_otplibdir/%bname-%version/$i/ done 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 LICENSE README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %check PATH=%_sbindir${PATH:+:$PATH} redis-server & rebar -C %bname.rebar.config eunit && rc=0 || rc=1 kill %%1 exit $rc %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * 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