SPECS: mysqltuner.spec - avoid dep on which(1)

glen glen at pld-linux.org
Wed Nov 26 23:31:51 CET 2008


Author: glen                         Date: Wed Nov 26 22:31:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid dep on which(1)

---- Files affected:
SPECS:
   mysqltuner.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/mysqltuner.spec
diff -u SPECS/mysqltuner.spec:1.3 SPECS/mysqltuner.spec:1.4
--- SPECS/mysqltuner.spec:1.3	Wed Nov 26 23:26:20 2008
+++ SPECS/mysqltuner.spec	Wed Nov 26 23:31:45 2008
@@ -3,11 +3,12 @@
 Summary:	High Performance MySQL Tuning Script
 Name:		mysqltuner
 Version:	0.9.9
-Release:	0.1
+Release:	0.3
 License:	GPL v3+
 Group:		Daemons
 URL:		http://rackerhacker.com/mysqltuner/
 Source0:	http://mysqltuner.com/%{name}.pl
+Patch0:		%{name}.patch
 # Source0-md5:	097ceed8577ff4dbed134970fd8781e4
 BuildRequires:	rpm-perlprov >= 4.1-13
 Requires:	mysql-client
@@ -27,7 +28,8 @@
 
 %prep
 %setup -q -c -T
-%{__sed} -e 's,\r$,,;/^use diagnostics/d' %{SOURCE0} > %{name}
+%{__sed} -e 's,\r$,,' %{SOURCE0} > %{name}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +49,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/11/26 22:31:45  glen
+- avoid dep on which(1)
+
 Revision 1.3  2008/11/26 22:26:20  glen
 - perl script, perl autodeps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysqltuner.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list