[packages/grive] - hardcode shortcommit (distfiles can't grok that macro) - cleanup rel

baggins baggins at pld-linux.org
Sun Dec 1 20:39:18 CET 2013


commit 3f7cd1cbba40d127e1e1ce2a6412faa8f9d02fdf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 1 20:38:53 2013 +0100

    - hardcode shortcommit (distfiles can't grok that macro)
    - cleanup rel

 grive.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/grive.spec b/grive.spec
index 7c2c2d4..c47c40a 100644
--- a/grive.spec
+++ b/grive.spec
@@ -1,10 +1,10 @@
-%define	commit 27817e835fe115ebbda5410ec904aa49a2ad01f1
-%define	shortcommit %(c=%{commit}; echo ${c:0:7})
-%define	cdate	20130702
+%define		commit		27817e835fe115ebbda5410ec904aa49a2ad01f1
+%define		shortcommit	27817e8			 # %(c=%{commit}; echo ${c:0:7})
+%define		cdate		20130702
 Summary:	An open source Linux client for Google Drive
 Name:		grive
 Version:	0.3.0
-Release:	0.1.%{cdate}git%{shortcommit}
+Release:	0.%{cdate}git%{shortcommit}.1
 License:	GPL v2
 Group:		Applications/Networking
 Source0:	https://github.com/Grive/grive/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grive.git/commitdiff/3f7cd1cbba40d127e1e1ce2a6412faa8f9d02fdf



More information about the pld-cvs-commit mailing list