packages: sqlite3/sqlite3.spec - up to 3.7.13, cleanup macros

glen glen at pld-linux.org
Mon Jun 25 02:14:02 CEST 2012


Author: glen                         Date: Mon Jun 25 00:14:02 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.7.13, cleanup macros

---- Files affected:
packages/sqlite3:
   sqlite3.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: packages/sqlite3/sqlite3.spec
diff -u packages/sqlite3/sqlite3.spec:1.108 packages/sqlite3/sqlite3.spec:1.109
--- packages/sqlite3/sqlite3.spec:1.108	Wed Jan 18 13:55:15 2012
+++ packages/sqlite3/sqlite3.spec	Mon Jun 25 02:13:57 2012
@@ -21,22 +21,20 @@
 %undefine	with_tests
 %endif
 
-%define		realver		3071000
-%define		srcver		src
-%define		rpmver		%(echo %{realver}|sed -e "s/00//g" -e "s/0/./g")
+%define		version_num %(echo %{version} |  awk -F. '{printf("%d%02d%02d%02d", $1, $2, $3, $4)}')
 %define		_ulibdir	/usr/lib
 %define		tclver		8.5
 
 Summary:	SQLite library
 Summary(pl.UTF-8):	Biblioteka SQLite
 Name:		sqlite3
-Version:	3.7.10
+Version:	3.7.13
 Release:	1
 License:	Public Domain
 Group:		Libraries
 # Source0Download: http://www.sqlite.org/download.html
-Source0:	http://www.sqlite.org/sqlite-%{srcver}-%{realver}.zip
-# Source0-md5:	16da2e08ce2233556965cdf20d614bd9
+Source0:	http://www.sqlite.org/sqlite-src-%{version_num}.zip
+# Source0-md5:	13bb3eaae94592ef3220ea23582763f5
 Patch0:		%{name}-sign-function.patch
 URL:		http://www.sqlite.org/
 %{?with_load_extension:Provides:	%{name}(load_extension)}
@@ -176,7 +174,7 @@
 Rozszerzenie sqlite3 dla Tcl.
 
 %prep
-%setup -q -n sqlite-%{srcver}-%{realver}
+%setup -q -n sqlite-src-%{version_num}
 %patch0 -p1
 
 %{__sed} -i 's/mkdir doc/#mkdir doc/' Makefile*
@@ -262,6 +260,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2012/06/25 00:13:57  glen
+- up to 3.7.13, cleanup macros
+
 Revision 1.108  2012/01/18 12:55:15  adamg
 - updated to 3.7.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/sqlite3/sqlite3.spec?r1=1.108&r2=1.109



More information about the pld-cvs-commit mailing list