SPECS: mysql.spec - sample for snapshot build

glen glen at pld-linux.org
Fri Jan 13 13:17:37 CET 2006


Author: glen                         Date: Fri Jan 13 12:17:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sample for snapshot build

---- Files affected:
SPECS:
   mysql.spec (1.317 -> 1.318) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.317 SPECS/mysql.spec:1.318
--- SPECS/mysql.spec:1.317	Fri Jan 13 11:11:28 2006
+++ SPECS/mysql.spec	Fri Jan 13 13:17:31 2006
@@ -15,6 +15,7 @@
 %bcond_without	big_tables	# Support tables with more than 4G rows even on 32 bit platforms
 #
 %include	/usr/lib/rpm/macros.perl
+#define	_snap	20060111
 Summary:	MySQL: a very fast and reliable SQL database engine
 Summary(de):	MySQL: ist eine SQL-Datenbank
 Summary(fr):	MySQL: un serveur SQL rapide et fiable
@@ -30,6 +31,7 @@
 Group:		Applications/Databases
 Source0:	http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.0/%{name}-%{version}.tar.gz
 # Source0-md5:	f18153b0239aaa03fc5a751f2d82cb71
+#Source0:	http://downloads.mysql.com/snapshots/mysql-5.0/%{name}-%{version}-nightly-%{_snap}.tar.gz
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source3:	%{name}.logrotate
@@ -415,7 +417,7 @@
 Ten pakiet zawiera standardowego demona MySQL NDB CPC.
 
 %prep
-%setup -q
+%setup -q %{?_snap:-n %{name}-%{version}-nightly-%{_snap}}
 %patch0 -p1
 %{?with_tcpd:%patch1 -p1}
 %patch2 -p1
@@ -896,6 +898,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.318  2006/01/13 12:17:31  glen
+- sample for snapshot build
+
 Revision 1.317  2006/01/13 10:11:28  glen
 - package mysqld.sym into package when debug package is built
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysql.spec?r1=1.317&r2=1.318&f=u



More information about the pld-cvs-commit mailing list