Hello community,

here is the log from the commit of package speech-dispatcher for 
openSUSE:Factory checked in at 2013-08-01 16:09:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/speech-dispatcher (Old)
 and      /work/SRC/openSUSE:Factory/.speech-dispatcher.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "speech-dispatcher"

Changes:
--------
--- /work/SRC/openSUSE:Factory/speech-dispatcher/speech-dispatcher.changes      
2013-05-13 15:34:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.speech-dispatcher.new/speech-dispatcher.changes 
2013-08-01 16:09:06.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun 17 11:20:12 UTC 2013 - [email protected]
+
+- Use systemd instead of sysvinit
+- Remove %clean section
+
+-------------------------------------------------------------------

Old:
----
  speech-dispatcher.init

New:
----
  speech-dispatcherd.service

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

Other differences:
------------------
++++++ speech-dispatcher.spec ++++++
--- /var/tmp/diff_new_pack.vmR6f1/_old  2013-08-01 16:09:06.000000000 +0200
+++ /var/tmp/diff_new_pack.vmR6f1/_new  2013-08-01 16:09:06.000000000 +0200
@@ -28,7 +28,7 @@
 Url:            http://www.freebsoft.org/pub/projects/speechd/
 Source0:        
http://devel.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.8.tar.gz
 # Init file
-Source1:        speech-dispatcher.init
+Source1:        speech-dispatcherd.service
 # Logrotate file taken from Debian
 Source2:        speech-dispatcher.logrotate
 BuildRequires:  alsa-devel
@@ -41,7 +41,9 @@
 BuildRequires:  libsndfile-devel
 BuildRequires:  libtool
 BuildRequires:  python3-setuptools
+BuildRequires:  systemd
 BuildRequires:  texinfo
+%{?systemd_requires}
 PreReq:         %install_info_prereq
 Recommends:     espeak
 Suggests:       festival
@@ -167,10 +169,9 @@
 %install
 %makeinstall
 find %{buildroot} -type f -name "*.la" -delete -print
-# Create init.d files
-install -D -m 0755 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/init.d/speech-dispatcher
-install -d -m 0755 %{buildroot}%{_sbindir}
-ln -s %{_sysconfdir}/init.d/speech-dispatcher 
%{buildroot}%{_sbindir}/rcspeech-dispatcher
+# Install systemd service files
+mkdir -p %{buildroot}%{_unitdir}
+install -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/
 # Create log dir. 0700 since the logs can contain user information.
 install -d -m 0700 %{buildroot}%{_localstatedir}/log/speech-dispatcher/
 # Install logrotate script
@@ -185,23 +186,19 @@
 %{__rm} %{buildroot}%{_infodir}/dir
 %find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 %install_info --info-dir=%{_infodir} %{_infodir}/spd-say.info.gz
 %install_info --info-dir=%{_infodir} %{_infodir}/ssip.info.gz
 
 %preun
-%stop_on_removal speech-dispatcher
+%service_del_preun speech-dispatcherd.service
 
 %postun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/spd-say.info.gz
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/ssip.info.gz
-%restart_on_update speech-dispatcher
-%insserv_cleanup
+%service_del_postun speech-dispatcherd.service
 
 %post -n libspeechd2 -p /sbin/ldconfig
 
@@ -234,9 +231,8 @@
 # logs
 %dir %attr(0700, root, root) %{_localstatedir}/log/speech-dispatcher/
 %config(noreplace) %{_sysconfdir}/logrotate.d/speech-dispatcher
-# init.d files
-%config %{_sysconfdir}/init.d/speech-dispatcher
-%{_sbindir}/rcspeech-dispatcher
+# systemd service file
+%{_unitdir}/speech-dispatcherd.service
 
 %files configure
 %defattr(-,root,root,-)

++++++ speech-dispatcherd.service ++++++
[Unit]
Description=Speech-Dispatcher an high-level device independent layer for speech 
synthesis.

[Service]
Type=forking
ExecStart=/usr/bin/speech-dispatcher -d 

[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to