Hello community,
here is the log from the commit of package mysql-community-server for
openSUSE:Factory checked in at 2013-03-20 11:54:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
and /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-community-server", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-03-12 22:37:35.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
2013-03-20 11:54:50.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 16:01:26 UTC 2013 - [email protected]
+
+- systemd awareness for openSUSE >= 12.1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-community-server.spec ++++++
--- /var/tmp/diff_new_pack.reQMXa/_old 2013-03-20 11:54:52.000000000 +0100
+++ /var/tmp/diff_new_pack.reQMXa/_new 2013-03-20 11:54:52.000000000 +0100
@@ -77,6 +77,9 @@
%if 0%{?fedora_version} > 11
BuildRequires: sqlite
%endif
+%if 0%{?suse_version} >= 1210
+BuildRequires: systemd
+%endif
%if 0%{?suse_version} > 1030
Recommends: logrotate
%else
@@ -86,6 +89,10 @@
Requires: %{name}-client
Requires: %{name}-errormessages = %version
Requires: perl-base
+# systemd requirements for openSUSE >= 12.1
+%if 0%{?suse_version} >= 1210
+%{?systemd_requires}
+%endif
Provides: mysql = %{srv_vers}
Provides: mysql-Max = %{srv_vers}
%if 0%{?use_extra_provides} > 0
@@ -390,12 +397,26 @@
/usr/sbin/useradd -r -o -g mysql -u 60 -c "MySQL database admin" \
-s /bin/false -d /var/lib/mysql mysql 2> /dev/null || :
/usr/sbin/usermod -g mysql -s /bin/false mysql || :
+# systemd requirment
+%if 0%{?suse_version} >= 1210
+%service_add_pre mysql.service
+%endif
+
+%post
+# systemd requirment
+%if 0%{?suse_version} >= 1210
+%service_add_post mysql.service
+%endif
#######################################################################
# preun and posttran takes care of restart #
#######################################################################
%preun
[ $1 = 1 ] || /usr/sbin/rcmysql stop
+# systemd requirment
+%if 0%{?suse_version} >= 1210
+%service_del_preun mysql.service
+%endif
%pretrans -p <lua>
if posix.access("/usr/sbin/rcmysql", "x") then
@@ -460,6 +481,10 @@
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
%{insserv_cleanup}
fi
+# systemd requirment
+%if 0%{?suse_version} >= 1210
+%service_del_postun mysql.service
+%endif
#######################################################################
# Files section #
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]