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