Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-03-22 12:01:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and      /work/SRC/openSUSE:Factory/.mariadb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mariadb", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-03-12 
22:37:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes     2013-03-22 
12:01:43.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 16:03:07 UTC 2013 - [email protected]
+
+- systemd awareness for openSUSE >= 12.1
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mariadb.spec ++++++
--- /var/tmp/diff_new_pack.GOuAZO/_old  2013-03-22 12:01:46.000000000 +0100
+++ /var/tmp/diff_new_pack.GOuAZO/_new  2013-03-22 12:01:46.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
@@ -373,12 +380,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
@@ -443,6 +464,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]

Reply via email to