]> git.pld-linux.org Git - packages/php-pear-MDB2_Driver_sqlite3.git/commitdiff
silence strict mode warnings under php 5.3
authorElan Ruusamäe <glen@delfi.ee>
Tue, 22 Jan 2013 23:08:40 +0000 (01:08 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 22 Jan 2013 23:08:40 +0000 (01:08 +0200)
php-pear-MDB2_Driver_sqlite3.spec

index 77812ca7860ac932411a5c46c728299ce36eb320..88a7c2a29ed382040566b708717f6c16efe049db 100644 (file)
@@ -15,6 +15,7 @@ URL:          http://thread.gmane.org/gmane.comp.php.pear.devel/50535
 BuildRequires: php-pear-PEAR >= 1:1.9.1
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: sed >= 4.0
 Requires:      php(core) >= 4.3.0
 Requires:      php(sqlite3)
 Requires:      php-pear
@@ -34,6 +35,7 @@ Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %setup -c
+grep -rl PEAR::isError . | xargs sed -i -e 's,PEAR::isError,MDB2::isError,'
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.052313 seconds and 4 git commands to generate.