[packages/sqlite3] drop pointless year macro

glen glen at pld-linux.org
Thu Feb 26 21:08:07 CET 2015


commit 9ff1c54dc27e48a465cfd09860bd031e6923c26a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Feb 26 22:08:01 2015 +0200

    drop pointless year macro

 sqlite3.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index 0e3842c..63fe775 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -20,12 +20,9 @@
 %undefine	with_tests
 %endif
 
-%define		version_year	2015
 #define		version_num %(echo %{version} |  awk -F. '{printf("%d%02d%02d%02d", $1, $2, $3, $4)}')
 %define		version_num	3080803
-%define		_ulibdir	/usr/lib
 %define		tclver		8.6
-
 Summary:	SQLite library
 Summary(pl.UTF-8):	Biblioteka SQLite
 Name:		sqlite3
@@ -34,7 +31,7 @@ Release:	1
 License:	Public Domain
 Group:		Libraries
 # Source0Download: http://www.sqlite.org/download.html
-Source0:	http://www.sqlite.org/%{version_year}/sqlite-src-%{version_num}.zip
+Source0:	http://www.sqlite.org/2015/sqlite-src-%{version_num}.zip
 # Source0-md5:	7aed8084e18c2677c71345cbd8ca0b76
 Patch0:		%{name}-sign-function.patch
 URL:		http://www.sqlite.org/
@@ -51,6 +48,8 @@ BuildRequires:	tcl
 BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_ulibdir	/usr/lib
+
 %description
 SQLite is a C library that implements an SQL database engine. A large
 subset of SQL92 is supported. A complete database is stored in a
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list