[erlang-neotoma] Ver. 1.5.1

Peter Lemenkov peter at fedoraproject.org
Thu Oct 11 09:15:44 UTC 2012


commit 670be1577c34a3712c33ff435bf888d93d634a3f
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Thu Oct 11 13:15:37 2012 +0400

    Ver. 1.5.1
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 .gitignore          |    1 +
 erlang-neotoma.spec |   29 ++++++++++++++++-------------
 sources             |    2 +-
 3 files changed, 18 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c23abf8..68dd051 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /seancribbs-neotoma-1.4-0-g04f82c0.tar.gz
 /seancribbs-neotoma-1.5-0-gadb132b.tar.gz
+/seancribbs-neotoma-1.5.1-0-g6382470.tar.gz
diff --git a/erlang-neotoma.spec b/erlang-neotoma.spec
index c71e5d3..ea0bf97 100644
--- a/erlang-neotoma.spec
+++ b/erlang-neotoma.spec
@@ -1,19 +1,20 @@
 %global realname neotoma
+%global upstream seancribbs
 %global debug_package %{nil}
-%global git_tag adb132b
+%global git_tag 6382470
+%global patchnumber 0
 
 
 Name:		erlang-%{realname}
-Version:	1.5
-Release:	3%{?dist}
+Version:	1.5.1
+Release:	1%{?dist}
 Summary:	Erlang library and packrat parser-generator for parsing expression grammars
 Group:		Development/Languages
 License:	MIT
 URL:		http://github.com/seancribbs/neotoma
-# wget --no-check-certificate https://github.com/seancribbs/neotoma/tarball/1.5
-Source0:	seancribbs-%{realname}-%{version}-0-g%{git_tag}.tar.gz
+# wget --content-disposition https://github.com/seancribbs/neotoma/tarball/1.5.1
+Source0:	%{upstream}-%{realname}-%{version}-%{patchnumber}-g%{git_tag}.tar.gz
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires:	erlang-erts
 BuildRequires:	erlang-eunit
 BuildRequires:	erlang-rebar
 # ets:insert/2 ( >= R12B-5 )
@@ -22,12 +23,12 @@ BuildRequires:	erlang-rebar
 # ets:new/2 ( >= R12B-5 )
 # re:compile/1 ( >= R12B-5 )
 # re:run/2 ( >= R12B-5 )
-Requires:	erlang-erts >= R12B-5
-Requires:	erlang-kernel
+Requires:	erlang-erts%{?_isa} >= R12B-5
+Requires:	erlang-kernel%{?_isa}
 # re:replace/4 ( >= R12B-5 )
 # string:join/2 ( >= R12B-5 )
 # unicode:characters_to_list/1 ( >= R13B )
-Requires:	erlang-stdlib >= R13B
+Requires:	erlang-stdlib%{?_isa} >= R13B
 
 
 %description
@@ -35,11 +36,11 @@ Erlang library and packrat parser-generator for parsing expression grammars.
 
 
 %prep
-%setup -q -n seancribbs-%{realname}-%{git_tag}
+%setup -q -n %{upstream}-%{realname}-%{git_tag}
 
 
 %build
-rebar -v compile
+rebar compile -v
 
 
 %install
@@ -57,11 +58,10 @@ rm -rf %{buildroot}
 
 
 %check
-rebar eunit
+rebar eunit -v
 
 
 %files
-%defattr(-,root,root,-)
 %doc extra/ LICENSE README.textile
 %dir %{_libdir}/erlang/lib/%{realname}-%{version}
 %dir %{_libdir}/erlang/lib/%{realname}-%{version}/ebin
@@ -75,6 +75,9 @@ rebar eunit
 
 
 %changelog
+* Thu Oct 11 2012 Peter Lemenkov <lemenkov at gmail.com> - 1.5.1-1
+- Ver. 1.5.1
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index a6c53ca..2e5b60c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-21b43bdf327b0eaf5a08984ba98a83d1  seancribbs-neotoma-1.5-0-gadb132b.tar.gz
+2852ec3fdbc3ccfb44715eb98dbfee99  seancribbs-neotoma-1.5.1-0-g6382470.tar.gz


More information about the scm-commits mailing list