[packages/sqlite3] - restore lua, commited to wrong repo, sorry

hawk hawk at pld-linux.org
Fri Jul 24 17:29:51 CEST 2015


commit ca3d78904c837908307dbfb5b9ee40fffb8ddea6
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Jul 24 15:28:59 2015 +0000

    - restore lua, commited to wrong repo, sorry

 sqlite3.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index 56287c0..3413b80 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -22,12 +22,13 @@
 
 # sqlite3 version with zero padded without any dots (3 08 10 01 is 3.8.10.1)
 %define		vnum	3081002
+%define		ver		%{lua:vn=rpm.expand("%vnum");v="";for i in string.gmatch(string.format("%08d", vn), "..") do; v=v.."."..i:gsub("^0", "");end;v=v:gsub("^.","");print(v)}
 
 %define		tclver		8.6
 Summary:	SQLite library
 Summary(pl.UTF-8):	Biblioteka SQLite
 Name:		sqlite3
-Version:	3.8.10.2
+Version:	%{ver}
 Release:	1
 License:	Public Domain
 Group:		Libraries
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sqlite3.git/commitdiff/ca3d78904c837908307dbfb5b9ee40fffb8ddea6



More information about the pld-cvs-commit mailing list