[erlang-riak_api] Ver. 1.3.0
Peter Lemenkov
peter at fedoraproject.org
Mon Mar 11 17:48:52 UTC 2013
commit df5717e0b01c341d4a5b144e039025374175c277
Author: Peter Lemenkov <lemenkov at gmail.com>
Date: Mon Mar 11 21:48:11 2013 +0400
Ver. 1.3.0
Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
.gitignore | 1 +
...0001-Allow-building-against-riak_pb-1.3.x.patch | 26 ++++++++++++++++
erlang-riak_api.spec | 31 +++++++++++--------
sources | 2 +-
4 files changed, 46 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e9fe5ff..26a217c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/basho-riak_api-1.2.1-0-gcd80e96.tar.gz
+/basho-riak_api-1.3.0-0-g916251e.tar.gz
diff --git a/erlang-riak_api-0001-Allow-building-against-riak_pb-1.3.x.patch b/erlang-riak_api-0001-Allow-building-against-riak_pb-1.3.x.patch
new file mode 100644
index 0000000..7b3589f
--- /dev/null
+++ b/erlang-riak_api-0001-Allow-building-against-riak_pb-1.3.x.patch
@@ -0,0 +1,26 @@
+From c829492860f39080014dd0dab2224ed92ae5dc0e Mon Sep 17 00:00:00 2001
+From: Peter Lemenkov <lemenkov at gmail.com>
+Date: Mon, 11 Mar 2013 21:41:22 +0400
+Subject: [PATCH 1/1] Allow building against riak_pb 1.3.x
+
+Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
+---
+ rebar.config | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rebar.config b/rebar.config
+index 9765e33..3131e90 100644
+--- a/rebar.config
++++ b/rebar.config
+@@ -5,7 +5,7 @@
+ {deps, [
+ {lager, "1.2.2", {git, "git://github.com/basho/lager.git",
+ {tag, "1.2.2"}}},
+- {riak_pb, "1.3.0", {git, "git://github.com/basho/riak_pb.git",
++ {riak_pb, "1.3.*", {git, "git://github.com/basho/riak_pb.git",
+ {tag, "1.3.0"}}},
+ {riak_core, "1.3.0", {git, "git://github.com/basho/riak_core.git",
+ {tag, "1.3.0"}}}
+--
+1.8.1.4
+
diff --git a/erlang-riak_api.spec b/erlang-riak_api.spec
index bbf8811..575e92f 100644
--- a/erlang-riak_api.spec
+++ b/erlang-riak_api.spec
@@ -1,29 +1,31 @@
%global realname riak_api
%global upstream basho
%global debug_package %{nil}
-%global git_tag cd80e96
+%global git_tag 916251e
%global patchnumber 0
Name: erlang-%{realname}
-Version: 1.2.1
-Release: 2%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
Summary: Riak Client APIs
Group: Development/Languages
License: ASL 2.0
URL: https://github.com/basho/riak_api
-# wget --content-disposition https://github.com/basho/riak_api/tarball/1.2.1
+# wget --content-disposition https://github.com/basho/riak_api/tarball/1.3.0
Source0: %{upstream}-%{realname}-%{version}-%{patchnumber}-g%{git_tag}.tar.gz
-BuildRequires: erlang-lager
+# Fedora/EPEL-specific
+Patch1: erlang-riak_api-0001-Allow-building-against-riak_pb-1.3.x.patch
+BuildRequires: erlang-lager >= 1.2.2
BuildRequires: erlang-rebar
-BuildRequires: erlang-riak_core >= 1.2.0
-BuildRequires: erlang-riak_pb >= 1.2.0
+BuildRequires: erlang-riak_core >= 1.3.0
+BuildRequires: erlang-riak_pb >= 1.3.0
Requires: erlang-erts%{?_isa}
Requires: erlang-folsom%{?_isa} >= 0.7.0
Requires: erlang-kernel%{?_isa}
-Requires: erlang-lager%{?_isa}
-Requires: erlang-riak_core%{?_isa} >= 1.2.0
-Requires: erlang-riak_pb%{?_isa} >= 1.2.0
+Requires: erlang-lager%{?_isa} >= 1.2.2
+Requires: erlang-riak_core%{?_isa} >= 1.3.0
+Requires: erlang-riak_pb%{?_isa} >= 1.3.0
Requires: erlang-stdlib%{?_isa}
@@ -35,8 +37,8 @@ later time.
%prep
-%setup -q -n %{upstream}-%{realname}-303315c
-sed -i -e "/github.com/d" rebar.config
+%setup -q -n %{upstream}-%{realname}-a0a7b12
+%patch1 -p1 -b .relax_deps
%build
@@ -50,7 +52,7 @@ install -m 644 ebin/*.beam %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{versi
%check
-rebar eunit -v
+rebar eunit skip_deps=true -v
%files
@@ -62,6 +64,9 @@ rebar eunit -v
%changelog
+* Mon Mar 11 2013 Peter Lemenkov <lemenkov at gmail.com> - 1.3.0-1
+- Ver. 1.3.0
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 60d8b75..118446f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5cd916e54d3afd0c814fdf095c641505 basho-riak_api-1.2.1-0-gcd80e96.tar.gz
+bb100fc5434b2816e38fa0406af9db65 basho-riak_api-1.3.0-0-g916251e.tar.gz
More information about the scm-commits
mailing list