Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-05-22 20:38:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and      /work/SRC/openSUSE:Factory/.mariadb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mariadb"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-12-16 
07:08:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes     2014-05-22 
20:38:30.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 14 05:45:51 UTC 2014 - [email protected]
+
+- use %_rundir if available
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mariadb.spec ++++++
--- /var/tmp/diff_new_pack.TEBwrx/_old  2014-05-22 20:38:32.000000000 +0200
+++ /var/tmp/diff_new_pack.TEBwrx/_new  2014-05-22 20:38:32.000000000 +0200
@@ -24,6 +24,10 @@
 %define use_extra_provides 1
 %define extra_provides mariadb_55
 
+%if ! %{defined _rundir}
+%define _rundir %{_localstatedir}/run
+%endif
+
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
 %endif
@@ -451,7 +455,7 @@
   os.execute("/usr/sbin/rcmysql stop")
 
   if restart == 0 then
-    os.execute("/bin/mkdir -p /var/run/mysql/restart")
+    os.execute("/bin/mkdir -p %{_rundir}/mysql/restart")
   end
 end
 
@@ -468,9 +472,9 @@
        ( [ -d "$i" ] && rmdir "$i" ) || :
 done
 # start mysql again if it should run
-if [ "`ls /etc/rc.d/rc*.d/S*mysql 2> /dev/null`" ] || [ -d 
/var/run/mysql/restart ]; then
+if [ "`ls /etc/rc.d/rc*.d/S*mysql 2> /dev/null`" ] || [ -d 
%{_rundir}/mysql/restart ]; then
        [ -x /usr/sbin/rcmysql ] && /usr/sbin/rcmysql start
-       rmdir /var/run/mysql/restart || :
+       rmdir %{_rundir}/mysql/restart || :
 fi
 
 #######################################################################
@@ -529,7 +533,7 @@
 %dir /usr/share/mysql
 /usr/share/%{name}/charsets/
 /usr/share/%{name}/*.sql
-%ghost %dir %attr(755,mysql,mysql)/var/run/mysql
+%ghost %dir %attr(755,mysql,mysql)%{_rundir}/mysql
 %dir %{_libdir}/mysql
 %{_libdir}/mysql/mysqld.sym
 %config /etc/sysconfig/SuSEfirewall2.d/services/mysql

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to