[erlang-riak_client] Ver. 1.3.1 (API/ABI incompatible with previous one)
Peter Lemenkov
peter at fedoraproject.org
Wed Oct 10 16:56:01 UTC 2012
commit bc5e6047622e9e177bb6cbd49c061afb52a048c3
Author: Peter Lemenkov <lemenkov at gmail.com>
Date: Wed Oct 10 20:55:41 2012 +0400
Ver. 1.3.1 (API/ABI incompatible with previous one)
Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
.gitignore | 1 +
...iak_client-0001-Don-t-look-for-protobuffs.patch | 19 ++++---
erlang-riak_client.spec | 55 +++++++++++---------
sources | 2 +-
4 files changed, 42 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4ea38f2..1781a50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/basho-riak-erlang-client-riakc-1.1.0-0-gd2297bf.tar.gz
/basho-riak-erlang-client-1.2.0-0-gcc27dc2.tar.gz
/basho-riak-erlang-client-1.2.1-0-g5fe8b3d.tar.gz
+/basho-riak-erlang-client-1.3.1-0-gc377347.tar.gz
diff --git a/erlang-riak_client-0001-Don-t-look-for-protobuffs.patch b/erlang-riak_client-0001-Don-t-look-for-protobuffs.patch
index 69eefb9..2b55d11 100644
--- a/erlang-riak_client-0001-Don-t-look-for-protobuffs.patch
+++ b/erlang-riak_client-0001-Don-t-look-for-protobuffs.patch
@@ -1,24 +1,25 @@
-From c2f7d7cd1f1a849cd4c2f0a71ae4750db13064c4 Mon Sep 17 00:00:00 2001
+From 4e7d3c294975e022ff65eddf889dcf5542ebafcb Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov at gmail.com>
Date: Sat, 30 Oct 2010 18:51:40 +0400
Subject: [PATCH 1/1] Don't look for protobuffs
Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
---
- rebar.config | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
+ rebar.config | 3 ---
+ 1 file changed, 3 deletions(-)
diff --git a/rebar.config b/rebar.config
-index ac0df00..a0969e7 100644
+index 9618d54..6daac29 100644
--- a/rebar.config
+++ b/rebar.config
-@@ -1,5 +1,2 @@
+@@ -1,7 +1,4 @@
{cover_enabled, true}.
--{erl_opts, [warnings_as_errors]}.
+ {eunit_opts, [verbose]}.
+ {erl_opts, [warnings_as_errors]}.
-{deps, [
-- {protobuffs, "0.6.*", {git, "git://github.com/basho/erlang_protobuffs", {tag, "protobuffs-0.6.0"}}}
+- {riak_pb, ".*", {git, "git://github.com/basho/riak_pb", "master"}}
- ]}.
-+{erl_opts, [debug_info, warnings_as_errors]}.
+ {edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}.
--
-1.7.10.1
+1.7.12
diff --git a/erlang-riak_client.spec b/erlang-riak_client.spec
index 958506c..4b00644 100644
--- a/erlang-riak_client.spec
+++ b/erlang-riak_client.spec
@@ -1,30 +1,27 @@
%global realname riakc
%global upstream basho
%global debug_package %{nil}
-%global git_tag 5fe8b3d
+%global git_tag c377347
%global patchnumber 0
Name: erlang-riak_client
-Version: 1.2.1
-Release: 3%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Erlang client for Riak
Group: Development/Languages
License: ASL 2.0
URL: http://github.com/basho/riak-erlang-client
-# wget --no-check-certificate --content-disposition https://github.com/basho/riak-erlang-client/tarball/1.2.1
+# wget --content-disposition https://github.com/basho/riak-erlang-client/tarball/1.3.1
Source0: %{upstream}-riak-erlang-client-%{version}-%{patchnumber}-g%{git_tag}.tar.gz
Patch1: erlang-riak_client-0001-Don-t-look-for-protobuffs.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires: erlang-erts
-BuildRequires: erlang-eunit
-BuildRequires: erlang-protobuffs
+BuildRequires: erlang-riak_pb
BuildRequires: erlang-rebar
-# No erlang(erlang:atom_to_binary/2) in R12B
-Requires: erlang-erts >= R13B
-Requires: erlang-kernel
-Requires: erlang-protobuffs
-Requires: erlang-stdlib
+Requires: erlang-erts%{?_isa}
+Requires: erlang-kernel%{?_isa}
+Requires: erlang-riak_pb%{?_isa}
+Requires: erlang-stdlib%{?_isa}
Provides: riak-erlang-client = %{version}-%{release}
@@ -33,42 +30,50 @@ Erlang client for Riak.
%prep
-%setup -q -n %{upstream}-riak-erlang-client-fd401a7
-%patch1 -p1 -b .dont_dl_protobuffs
+%setup -q -n %{upstream}-riak-erlang-client-%{git_tag}
+%patch1 -p1 -b .nodeps
+
%build
rebar compile -v
%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{version}/include
-install -m 644 ebin/%{realname}.app $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
-install -m 644 ebin/*.beam $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
-install -m 644 include/*.hrl $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{version}/include
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
+mkdir -p %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/include
+install -m 644 ebin/%{realname}.app %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
+install -m 644 ebin/%{realname}_obj.beam %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
+install -m 644 ebin/%{realname}_pb_socket.beam %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
+install -m 644 include/%{realname}.hrl %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/include
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%check
-rebar eunit
+rebar eunit -v
%files
-%defattr(-,root,root,-)
%doc LICENSE README.md docs/pb-client.txt
%dir %{_libdir}/erlang/lib/%{realname}-%{version}
%dir %{_libdir}/erlang/lib/%{realname}-%{version}/ebin
%dir %{_libdir}/erlang/lib/%{realname}-%{version}/include
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}.app
-%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/*.beam
-%{_libdir}/erlang/lib/%{realname}-%{version}/include/*.hrl
+%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}_obj.beam
+%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}_pb_socket.beam
+%{_libdir}/erlang/lib/%{realname}-%{version}/include/%{realname}.hrl
%changelog
+* Wed Oct 10 2012 Peter Lemenkov <lemenkov at gmail.com> - 1.3.1-1
+- Ver. 1.3.1
+
+* Wed Sep 05 2012 Peter Lemenkov <lemenkov at gmail.com> - 1.3.0-1
+- Ver. 1.3.0 (API/ABI incompatible with previous one)
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 1599b2f..43093de 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d12d8e7a675d1e1e7f6b8a756bd9361 basho-riak-erlang-client-1.2.1-0-g5fe8b3d.tar.gz
+6432e104e9bd0b455125ae8afe0d39b1 basho-riak-erlang-client-1.3.1-0-gc377347.tar.gz
More information about the scm-commits
mailing list