[packages/php] cleanup removed mysql extension

glen glen at pld-linux.org
Sun Sep 27 21:17:50 CEST 2015


commit 1957589a030ab4b753b1b3513f2aaf787962959a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 27 22:00:38 2015 +0300

    cleanup removed mysql extension

 php.spec | 33 +--------------------------------
 1 file changed, 1 insertion(+), 32 deletions(-)
---
diff --git a/php.spec b/php.spec
index 7aa06b3..818cbe6 100644
--- a/php.spec
+++ b/php.spec
@@ -79,7 +79,6 @@
 %bcond_without	mbstring	# without mbstring extension module
 %bcond_without	mcrypt		# without mbcrypt extension module
 %bcond_without	mhash		# without mhash extension (supported by hash extension)
-%bcond_with	mysql		# without ext/mysql support (ext removed)
 %bcond_without	mysqli		# without mysqli support (Requires mysql > 4.1)
 %bcond_without	mysqlnd		# without mysqlnd support in mysql related extensions
 %bcond_with	oci		# with Oracle oci8 extension module	(BR: proprietary libs)
@@ -1100,27 +1099,6 @@ support.
 %description mcrypt -l pl.UTF-8
 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
 
-%package mysql
-Summary:	MySQL database module for PHP
-Summary(pl.UTF-8):	Moduł bazy danych MySQL dla PHP
-Summary(pt_BR.UTF-8):	Um módulo para aplicações PHP que usam bancos de dados MySQL
-Group:		Libraries
-URL:		http://www.php.net/manual/en/book.mysql.php
-Requires:	%{name}-common = %{epoch}:%{version}-%{release}
-%{?with_mysqlnd:Requires:	%{name}-mysqlnd = %{epoch}:%{version}-%{release}}
-Provides:	php(mysql)
-Obsoletes:	php-mysql < 4:5.3.28-7
-
-%description mysql
-This is a dynamic shared object (DSO) for PHP that will add MySQL
-database support.
-
-%description mysql -l pl.UTF-8
-Moduł PHP umożliwiający dostęp do bazy danych MySQL.
-
-%description mysql -l pt_BR.UTF-8
-Um módulo para aplicações PHP que usam bancos de dados MySQL.
-
 %package mysqli
 Summary:	MySQLi module for PHP
 Summary(pl.UTF-8):	Moduł MySQLi dla PHP
@@ -2482,7 +2460,7 @@ generate_inifiles() {
 		[ "$mod" = "spl" ] && conf="SPL.ini"
 		# session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
 		[ "$mod" = "session" ] && conf="Session.ini"
-		# mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
+		# mysqlnd needs to be loaded before mysqli,pdo_mysqli
 		[ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
 		echo "+ $conf"
 		cat > conf.d/$conf <<-EOF
@@ -2813,7 +2791,6 @@ fi
 %extension_scripts ldap
 %extension_scripts mbstring
 %extension_scripts mcrypt
-%extension_scripts mysql
 %extension_scripts mysqli
 %extension_scripts mysqlnd
 %extension_scripts oci8
@@ -3142,14 +3119,6 @@ fi
 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
 %endif
 
-%if %{with mysql}
-%files mysql
-%defattr(644,root,root,755)
-%doc ext/mysql/CREDITS
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
-%attr(755,root,root) %{php_extensiondir}/mysql.so
-%endif
-
 %if %{with mysqli}
 %files mysqli
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/83f22a2d3bb247e771973cb82377ea242d183ccf



More information about the pld-cvs-commit mailing list