Hello community,

here is the log from the commit of package erlang for openSUSE:Factory checked 
in at 2014-03-04 13:21:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang (Old)
 and      /work/SRC/openSUSE:Factory/.erlang.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "erlang"

Changes:
--------
--- /work/SRC/openSUSE:Factory/erlang/erlang.changes    2014-02-18 
14:44:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.erlang.new/erlang.changes       2014-03-04 
13:21:23.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Feb 20 07:35:16 UTC 2014 - [email protected]
+
+- Use %service_add_pre macro
+
+-------------------------------------------------------------------
+Wed Feb 19 07:23:07 UTC 2014 - [email protected]
+
+- Fix names of epmd.service and epmd.socket files
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ erlang.spec ++++++
--- /var/tmp/diff_new_pack.w4njXh/_old  2014-03-04 13:21:25.000000000 +0100
+++ /var/tmp/diff_new_pack.w4njXh/_new  2014-03-04 13:21:25.000000000 +0100
@@ -398,8 +398,8 @@
 install -d -m 0750        %{buildroot}%{epmd_home}
 install -d -m 0755        %{buildroot}%{_sbindir}
 %if 0%{?have_systemd}
-install -D -m 0644 %{S:7} %{buildroot}%{_unitdir}/%{name}.service
-install -D -m 0644 %{S:8} %{buildroot}%{_unitdir}/%{name}.socket
+install -D -m 0644 %{S:7} %{buildroot}%{_unitdir}/epmd.service
+install -D -m 0644 %{S:8} %{buildroot}%{_unitdir}/epmd.socket
 ln -s   /sbin/service     %{buildroot}%{_sbindir}/rcepmd
 %else
 ln -s   /etc/init.d/epmd  %{buildroot}%{_sbindir}/rcepmd
@@ -411,20 +411,26 @@
 %pre
 /usr/sbin/groupadd -r epmd &>/dev/null || :
 /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d 
%{epmd_home} epmd &>/dev/null || :
+%if 0%{?have_systemd}
+%service_add_pre epmd.service epmd.socket
+%endif
 
 %post
 %{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
 %fillup_only erlang
+%if 0%{?have_systemd}
+%service_add_post epmd.service epmd.socket
+%endif
 
 %preun
 %if 0%{?have_systemd}
-%service_del_preun %{name}.service %{name}.socket
+%service_del_preun epmd.service epmd.socket
 %endif
 %stop_on_removal epmd
 
 %postun
 %if 0%{?have_systemd}
-%service_del_postun %{name}.service %{name}.socket
+%service_del_postun epmd.service epmd.socket
 %endif
 %restart_on_update epmd
 %{insserv_cleanup}
@@ -498,8 +504,8 @@
 %{_datadir}/emacs/site-lisp/erlang.el
 %dir %attr(-,epmd,epmd) %{epmd_home}
 %if 0%{?have_systemd}
-%{_unitdir}/%{name}.service
-%{_unitdir}/%{name}.socket
+%{_unitdir}/epmd.service
+%{_unitdir}/epmd.socket
 %endif
 /etc/init.d/epmd
 %{_sbindir}/rcepmd

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

Reply via email to