[luarocks/f16] Update to 2.0.12
Michel Alexandre Salim
salimma at fedoraproject.org
Mon Nov 5 13:45:40 UTC 2012
commit 484b5791ef1eb8d4bca572585b41a340e7ec8b7e
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Mon Nov 5 18:31:07 2012 +0700
Update to 2.0.12
.gitignore | 2 +-
luarocks.spec | 12 +++++++++---
sources | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1199150..6379358 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/luarocks-2.0.11.tar.gz
+/luarocks-2.0.12.tar.gz
diff --git a/luarocks.spec b/luarocks.spec
index f3e5faa..b56aa45 100644
--- a/luarocks.spec
+++ b/luarocks.spec
@@ -1,5 +1,8 @@
-%global luaver 5.1
+%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
+%if 0%{?rhel} <= 6
%global luanext 5.2
+%endif
+
%global luapkgdir %{_datadir}/lua/%{luaver}
%if 0%{?el5}
@@ -9,7 +12,7 @@
%endif
Name: luarocks
-Version: 2.0.11
+Version: 2.0.12
Release: 1%{?dist}
Summary: A deployment and management system for Lua modules
@@ -28,7 +31,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%endif
BuildRequires: lua-devel
-%if 0%{?fedora} >= 16
+%if ! 0%{?rhel} <= 6
Requires: lua(abi) = %{luaver}
%else # for RHEL 5 and 6
Requires: lua >= %{luaver}
@@ -83,6 +86,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%changelog
+* Mon Nov 5 2012 Michel Salim <salimma at fedoraproject.org> - 2.0.12-1
+- Update to 2.0.12
+
* Fri Sep 28 2012 Michel Salim <salimma at fedoraproject.org> - 2.0.11-1
- Update to 2.0.11
diff --git a/sources b/sources
index 472a12c..d7949cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f771907b8b90ae3b8c6c6b6a58970d9b luarocks-2.0.11.tar.gz
+a1bc938ddf835550917f0cb6964ea516 luarocks-2.0.12.tar.gz
More information about the scm-commits
mailing list