- Moving directory with configuration to upstream default

(/etc/mysql -> /etc/my.cnf.d)

OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=116
This commit is contained in:
Michal Hrusecky (old before rename to _miska_) 2013-06-05 08:49:48 +00:00 committed by Git OBS Bridge
parent 7a87f6626a
commit a4c6753144
6 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f2261ec50c13f51c3f47479758ae0a44e5912e30136a187981bb1492c4605ba4 oid sha256:65ac32a3b776ada3b317d1bb596dd3623499f1b408d598ded05f691a02364562
size 316 size 321

View File

@ -155,8 +155,9 @@ ln -s libndbclient.so.6.0.0 '%buildroot'%_libdir/libndbclient.so.6
if [ -f '%buildroot'/usr/bin/mysqlaccess.conf ]; then if [ -f '%buildroot'/usr/bin/mysqlaccess.conf ]; then
mv '%buildroot'/usr/bin/mysqlaccess.conf '%buildroot'/etc/mysqlaccess.conf mv '%buildroot'/usr/bin/mysqlaccess.conf '%buildroot'/etc/mysqlaccess.conf
fi fi
mkdir -p '%buildroot'/etc/mysql mkdir -p '%buildroot'/etc/my.cnf.d
bzip2 -cd '%_sourcedir'/configuration-tweaks.tar.bz2 | tar -C '%buildroot'/etc/mysql -xvf - rm -rf '%buildroot'/etc/my.cnf.d/*
bzip2 -cd '%_sourcedir'/configuration-tweaks.tar.bz2 | tar -C '%buildroot'/etc/my.cnf.d -xvf -
if [ -z "`ls '%buildroot'/usr/share/info/mysql.info*`" ]; then if [ -z "`ls '%buildroot'/usr/share/info/mysql.info*`" ]; then
install -D -m 0644 Docs/mysql.info "%buildroot/usr/share/info/mysql.info" install -D -m 0644 Docs/mysql.info "%buildroot/usr/share/info/mysql.info"
gzip -9 "%buildroot/usr/share/info/mysql.info" gzip -9 "%buildroot/usr/share/info/mysql.info"
@ -168,3 +169,4 @@ if [ "`ls '%buildroot'%_libdir/mysql/plugin/dialog*.so`" ]; then
fi fi
rm -rf '%buildroot'/usr/share/doc/%{name}-%{version} rm -rf '%buildroot'/usr/share/doc/%{name}-%{version}
rm -rf '%buildroot'/usr/share/mysql/solaris rm -rf '%buildroot'/usr/share/mysql/solaris
rm -rf '%buildroot'/usr/share/mysql/SELinux

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 5 08:48:42 UTC 2013 - mhrusecky@suse.com
- Moving directory with configuration to upstream default
(/etc/mysql -> /etc/my.cnf.d)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 5 05:51:45 UTC 2013 - mhrusecky@suse.com Wed Jun 5 05:51:45 UTC 2013 - mhrusecky@suse.com

View File

@ -471,8 +471,8 @@ fi
%files -f mysql.files %files -f mysql.files
%defattr(-, root, root) %defattr(-, root, root)
%config(noreplace) %attr(0640, root, mysql) /etc/my.cnf %config(noreplace) %attr(0640, root, mysql) /etc/my.cnf
%dir %attr(0750, root, mysql) /etc/mysql %dir %attr(0750, root, mysql) /etc/my.cnf.d
%config(noreplace) %attr(0640, root, mysql) /etc/mysql/* %config(noreplace) %attr(0640, root, mysql) /etc/my.cnf.d/*
%config /etc/logrotate.d/mysql %config /etc/logrotate.d/mysql
%doc %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}
%doc %{_infodir}/mysql.info.* %doc %{_infodir}/mysql.info.*

1
my.ini
View File

@ -96,4 +96,5 @@ log = /var/log/mysqld_multi.log
# user = mysql # user = mysql
!include_dir /etc/mysql !include_dir /etc/mysql
!include_dir /etc/my.cnf.d

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:7935739f70f9e0e29aecbfa9d7a7bc18bf91e63141b1f4493ed0f3406563aaef oid sha256:242cbdabafce318f7351fc293fc1ad224c7ecef4392041ba94d42518e9d8ac1a
size 11806 size 11793