robert pushed to lua-sec (f20). "An attempt to package the latest checkout of the upstream git. (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat Apr 18 12:03:36 UTC 2015
>From 138fc205ccea8d74d7d6f4cdf1858313f59b7f6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl at redhat.com>
Date: Sat, 24 Aug 2013 23:58:31 +0200
Subject: An attempt to package the latest checkout of the upstream git.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Matěj Cepl <mcepl at redhat.com>
diff --git a/.gitignore b/.gitignore
index 66cebc7..3132bea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/luasec-0.4.1.tar.gz
+/063e8a8.tar.gz
diff --git a/lua-sec.spec b/lua-sec.spec
index e2d8cfe..0b6b3e3 100644
--- a/lua-sec.spec
+++ b/lua-sec.spec
@@ -1,18 +1,20 @@
-%define luaver 5.2
-%define lualibdir %{_libdir}/lua/%{luaver}
-%define luapkgdir %{_datadir}/lua/%{luaver}
+%global luaver 5.2
+%global lualibdir %{_libdir}/lua/%{luaver}
+%global luapkgdir %{_datadir}/lua/%{luaver}
-%define real_name luasec
+%global real_name luasec
+%global github_commit 063e8a8a5c57858cdc845f8d51b994426edd37ab
+%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
Name: lua-sec
Version: 0.4.1
-Release: 6%{?dist}
+Release: 6.0.1.20130824R%{shortcommit}%{?dist}
Summary: Lua binding for OpenSSL library
Group: Development/Libraries
License: MIT
-URL: http://www.inf.puc-rio.br/~brunoos/luasec/
-Source0: http://www.inf.puc-rio.br/~brunoos/%{real_name}/download/%{real_name}-%{version}.tar.gz
+URL: https://github.com/brunoos/luasec
+Source0: https://github.com/brunoos/luasec/archive/%{shortcommit}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: lua-devel
@@ -32,7 +34,7 @@ session between the peers.
%prep
-%setup -q -n %{real_name}-%{version}
+%setup -q -n %{real_name}-%{github_commit}
for file in CHANGELOG LICENSE; do
iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
touch -r $file $file.new && \
diff --git a/sources b/sources
index e670230..d6be1da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8a5fde3b3fdb6174f54cd51d7f53e12 luasec-0.4.1.tar.gz
+b5da776d0f984c720766d40d93b5795d 063e8a8.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/lua-sec.git/commit/?h=f20&id=138fc205ccea8d74d7d6f4cdf1858313f59b7f6b
More information about the scm-commits
mailing list