Hello community,

here is the log from the commit of package icecast for openSUSE:Factory checked 
in at 2015-01-29 09:57:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icecast (Old)
 and      /work/SRC/openSUSE:Factory/.icecast.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icecast"

Changes:
--------
--- /work/SRC/openSUSE:Factory/icecast/icecast.changes  2014-11-26 
22:57:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.icecast.new/icecast.changes     2015-01-29 
09:57:47.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Jan 19 22:10:57 UTC 2015 - [email protected]
+
+- Remove sysvinit support as the package now build only for systems
+  with systemd support
+- Add a backward rc compatibility symlink to systemd service file
+- Only require systemd-rpm-macros to build; no need to require
+  entire systemd environment
+- Clean up specfile
+
+-------------------------------------------------------------------

Old:
----
  icecast.init

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

Other differences:
------------------
++++++ icecast.spec ++++++
--- /var/tmp/diff_new_pack.QLN1QK/_old  2015-01-29 09:57:49.000000000 +0100
+++ /var/tmp/diff_new_pack.QLN1QK/_new  2015-01-29 09:57:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package icecast
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,6 @@
 Group:          Productivity/Networking/Web/Servers
 Url:            http://www.icecast.org/
 Source:         
http://downloads.xiph.org/releases/icecast/icecast-%{version}.tar.gz
-Source1:        icecast.init
 Source2:        icecast.service
 Source3:        icecast.logrotate
 Source99:       icecast.rpmlintrc
@@ -42,17 +41,8 @@
 BuildRequires:  libxslt-devel
 BuildRequires:  openssl-devel
 BuildRequires:  speex-devel
-%if 0%{?suse_version} >= 1140
-%if 0%{?suse_version} > 1220
-%define         _unitdir /usr/lib/systemd
-%else
-%define         _unitdir /lib/systemd
-%endif
-BuildRequires:  systemd
+BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
-%endif
-PreReq:         %fillup_prereq
-PreReq:         %insserv_prereq
 PreReq:         /usr/sbin/groupadd
 PreReq:         /usr/sbin/useradd
 Recommends:     logrotate
@@ -88,48 +78,30 @@
 
 %install
 make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}
-# init script
-install -d -m 0755 %{buildroot}%{_sbindir}
-install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name}
-ln -s -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
-%if 0%{?suse_version} >= 1140
 # service file
+install -d -m 0755 %{buildroot}%{_sbindir}
 install -d "%{buildroot}%{_unitdir}/system"
-install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/system/icecast.service
-%endif
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/icecast.service
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
 # create missing dirs
 install -d -m 0755 %{buildroot}%{_localstatedir}/{lib,log}/%{name}
 
 # logrotate
 install -D -m 0644 %{SOURCE3} %{buildroot}/etc/logrotate.d/%{name}
 
-cp -a conf/*.dist %{buildroot}%{_docdir}/%{name}
-
 %pre
 /usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || :
 /usr/sbin/useradd  -g %{name} -s /bin/false -r -c "Icecast streaming server" 
-d %{_localstatedir}/lib/%{name} %{name} >/dev/null 2>&1 || :
-%if 0%{?suse_version} > 1140
 %service_add_pre %{name}.service
-%endif
 
 %preun
-%stop_on_removal %{name}
-%if 0%{?suse_version} > 1140
 %service_del_preun %{name}.service
-%endif
 
 %post
-%fillup_and_insserv %{name}
-%if 0%{?suse_version} > 1140
 %service_add_post %{name}.service
-%endif
 
 %postun
-%restart_on_update %{name}
-%insserv_cleanup
-%if 0%{?suse_version} > 1140
 %service_del_postun %{name}.service
-%endif
 
 %files
 %defattr(-,root,root)
@@ -145,10 +117,7 @@
 %{_bindir}/icecast
 %{_datadir}/icecast
 %{_sbindir}/rc%{name}
-%{_sysconfdir}/init.d/%{name}
-%if 0%{?suse_version} >= 1140
-%config %{_unitdir}/system/%{name}.service
-%endif
+%config %{_unitdir}/%{name}.service
 # TODO: enable chroot support in this dir
 %{_localstatedir}/lib/%{name}
 %attr(750,%{name},%{name}) %{_localstatedir}/log/%{name}

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

Reply via email to