]> git.pld-linux.org Git - packages/sqlite3.git/commitdiff
- restore lua, commited to wrong repo, sorry
authorMarcin Krol <hawk@tld-linux.org>
Fri, 24 Jul 2015 15:28:59 +0000 (15:28 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 24 Jul 2015 15:28:59 +0000 (15:28 +0000)
sqlite3.spec

index 56287c0e9cadf522ec6cc0eb43def28a784f7aeb..3413b80400a63fe23d2f62073388c8ff613ccc7a 100644 (file)
 
 # 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
This page took 0.170657 seconds and 4 git commands to generate.