orion pushed to Lmod (master). "Update to 5.9.2-1.git76a45db for Lua 5.3 support"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Mar 31 23:00:55 UTC 2015


>From ca16db781a2d80bcc5c2542a3ce4ad403b10d6d2 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion at cora.nwra.com>
Date: Tue, 31 Mar 2015 17:00:49 -0600
Subject: Update to 5.9.2-1.git76a45db for Lua 5.3 support


diff --git a/.gitignore b/.gitignore
index a40db47..bd4f24e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /Lmod-5.7.5.tar.bz2
 /Lmod-5.8.tar.bz2
 /Lmod-5.9.tar.bz2
+/Lmod-5.9.2-76a45db.tar.gz
diff --git a/Lmod.spec b/Lmod.spec
index 5ae1e56..e89d6bb 100644
--- a/Lmod.spec
+++ b/Lmod.spec
@@ -1,14 +1,18 @@
 %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
 
+%global commit 76a45dba913d9d828dfcd6ec0d9431d0562db963
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
 Name:           Lmod
-Version:        5.9
-Release:        1%{?dist}
+Version:        5.9.2
+Release:        1.git%{shortcommit}%{?dist}
 Summary:        Environmental Modules System in Lua
 
 # Lmod-5.3.2/tools/base64.lua is LGPLv2
 License:        MIT and LGPLv2
 URL:            https://www.tacc.utexas.edu/tacc-projects/lmod
-Source0:        http://downloads.sourceforge.net/lmod/%{name}-%{version}.tar.bz2
+#Source0:        http://downloads.sourceforge.net/lmod/%{name}-%{version}.tar.bz2
+Source0:        https://github.com/TACC/Lmod/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
 Source1:        macros.%{name}
 
 BuildArch:      noarch
@@ -37,7 +41,7 @@ where the library and header files can be found.
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{commit}
 sed -i -e 's,/usr/bin/env ,/usr/bin/,' src/*.tcl
 # Remove bundled lua-term
 rm -r pkgs tools/json.lua
@@ -108,6 +112,9 @@ fi
 
 
 %changelog
+* Tue Mar 31 2015 Orion Poplawski <orion at cora.nwra.com> - 5.9.2-1.git76a45db
+- Update to 5.9.2-1.git76a45db for Lua 5.3 support
+
 * Wed Mar 18 2015 Orion Poplawski <orion at cora.nwra.com> - 5.9-1
 - Update to 5.9
 
diff --git a/sources b/sources
index 63e3f3b..745d248 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7ec69ea8bfb4e6103a44a514a341e3a4  Lmod-5.9.tar.bz2
+786773afee90267e2a72ad90386ca0e4  Lmod-5.9.2-76a45db.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/Lmod.git/commit/?h=master&id=ca16db781a2d80bcc5c2542a3ce4ad403b10d6d2


More information about the scm-commits mailing list