update to 5.5.43

remove php config file after changing default socket path in php [release 5.5.43-1mamba;Fri May 15 2015]
This commit is contained in:
Silvan Calarco 2024-01-06 06:57:46 +01:00
parent 53e6bc27b4
commit f5b90c4ce5

View File

@ -5,8 +5,8 @@
%define userid 65018
Name: mariadb
Version: 5.5.42
Release: 3mamba
Version: 5.5.43
Release: 1mamba
Summary: A SQL database engine designed as a drop-in replacement of MySQL(R)
Group: Applications/Databases
Vendor: openmamba
@ -202,16 +202,16 @@ install -D -m644 support-files/rpm/mysql-clients.cnf %{buildroot}%{_sysconfdir}/
mv %{buildroot}%{_prefix}/lib/lib* %{buildroot}%{_libdir}/
%endif
install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d
cat > %{buildroot}%{_sysconfdir}/php/php.d/mysql_mariadb.ini << _EOF
[MySQL]
mysql.default_socket = /run/mysqld/mysql.sock
_EOF
#install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d
#cat > %{buildroot}%{_sysconfdir}/php/php.d/mysql_mariadb.ini << _EOF
#[MySQL]
#mysql.default_socket = /run/mysqld/mysql.sock
#_EOF
cat > %{buildroot}%{_sysconfdir}/php/php.d/mysqli_mariadb.ini << _EOF
[MySQLi]
mysqli.default_socket = /run/mysqld/mysql.sock
_EOF
#cat > %{buildroot}%{_sysconfdir}/php/php.d/mysqli_mariadb.ini << _EOF
#[MySQLi]
#mysqli.default_socket = /run/mysqld/mysql.sock
#_EOF
# delete unpackaged files
@ -314,8 +314,6 @@ fi
%files server
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
%{_sysconfdir}/php/php.d/mysql_mariadb.ini
%{_sysconfdir}/php/php.d/mysqli_mariadb.ini
%{_unitdir}/mariadb.service
%{_tmpfilesdir}/mariadb.conf
%attr(755,mysql,mysql) %dir /var/lib/mysql%{?MAJversion}
@ -523,6 +521,10 @@ fi
%{_mandir}/man1/mysql_config.1*
%changelog
* Fri May 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.43-1mamba
- update to 5.5.43
- remove php config file after changing default socket path in php
* Tue Apr 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.42-3mamba
- create user and group in posttrans to prevent removal from obsoleted mysql
- provide and obsolete libmysql5-devel