commit gnump3d for openSUSE:Factory

2017-03-20 Thread root
Hello community,

here is the log from the commit of package gnump3d for openSUSE:Factory checked 
in at 2017-03-20 17:08:39

Comparing /work/SRC/openSUSE:Factory/gnump3d (Old)
 and  /work/SRC/openSUSE:Factory/.gnump3d.new (New)


Package is "gnump3d"

Mon Mar 20 17:08:39 2017 rev:23 rq:479683 version:3.0

Changes:

--- /work/SRC/openSUSE:Factory/gnump3d/gnump3d.changes  2013-06-05 
14:30:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnump3d.new/gnump3d.changes 2017-03-20 
17:08:40.425402137 +0100
@@ -1,0 +2,8 @@
+Wed Mar 15 13:09:03 UTC 2017 - dims...@opensuse.org
+
+- Drop the sysV init script: it is masked by the systemd service
+  in any case and is only adding confusion.
+- Drop the init.d related insserv macros: since the .init file is
+  no longer installed, there is no need to handle it.
+
+---

Old:

  gnump3d.init



Other differences:
--
++ gnump3d.spec ++
--- /var/tmp/diff_new_pack.105zl6/_old  2017-03-20 17:08:41.025317428 +0100
+++ /var/tmp/diff_new_pack.105zl6/_new  2017-03-20 17:08:41.029316864 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnump3d
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,6 @@
 Requires:   perl >= 5.8.8
 Source: gnump3d-%{version}.tar.bz2
 Source3:gnump3d-rpmlintrc
-Source1:gnump3d.init
 Source2:gnump3d.logrotate
 Source4:gnump3d.service
 Patch:  gnump3d-Makefile.patch
@@ -58,7 +57,6 @@
 %install
 rm -Rf $RPM_BUILD_ROOT
 mkdir $RPM_BUILD_ROOT
-install -d -m 755 $RPM_BUILD_ROOT/etc/init.d
 install -d -m 755 $RPM_BUILD_ROOT/var/log/gnump3d
 install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d
 install -d -m 755 $RPM_BUILD_ROOT/usr/sbin
@@ -68,9 +66,8 @@
 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/gnump3d
 make PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT install
 # Install inetd init script
-install -m 744 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/gnump3d
 install -D -m 0644 %SOURCE4 %{buildroot}%{_unitdir}/%{name}.service
-(cd $RPM_BUILD_ROOT && ln -sf /etc/init.d/gnump3d usr/sbin/rcgnump3d)
+(cd $RPM_BUILD_ROOT && ln -sf /usr/sbin/service usr/sbin/rcgnump3d)
 (cd $RPM_BUILD_ROOT/usr/bin && ln -sfn gnump3d2 gnump3d)
 %fdupes -s $RPM_BUILD_ROOT%{_datadir}/%{name}
 
@@ -91,12 +88,9 @@
 %service_add_post %{name}.service
 
 %preun
-%stop_on_removal gnump3d
 %service_del_preun %{name}.service
 
 %postun
-%restart_on_update gnump3d
-%insserv_cleanup
 %service_del_postun %{name}.service
 
 %files
@@ -134,7 +128,6 @@
 %{_bindir}/gnump3d-index
 %{_bindir}/gnump3d-top
 %{_sbindir}/rcgnump3d
-%config %{_sysconfdir}/init.d/gnump3d
 %config(noreplace) %{_sysconfdir}/logrotate.d/gnump3d
 %attr(755,gnump3d,root) %dir %{_var}/log/gnump3d
 %attr(755,gnump3d,root) %dir %{_var}/cache/gnump3d




commit gnump3d for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package gnump3d for openSUSE:Factory checked 
in at 2013-06-05 14:30:32

Comparing /work/SRC/openSUSE:Factory/gnump3d (Old)
 and  /work/SRC/openSUSE:Factory/.gnump3d.new (New)


Package is gnump3d

Changes:

--- /work/SRC/openSUSE:Factory/gnump3d/gnump3d.changes  2012-09-14 
12:23:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnump3d.new/gnump3d.changes 2013-06-05 
14:30:33.0 +0200
@@ -1,0 +2,5 @@
+Fri May 31 01:07:07 UTC 2013 - crrodrig...@opensuse.org
+
+- Add systemd support  
+
+---

New:

  gnump3d.service



Other differences:
--
++ gnump3d.spec ++
--- /var/tmp/diff_new_pack.Olp4BC/_old  2013-06-05 14:30:34.0 +0200
+++ /var/tmp/diff_new_pack.Olp4BC/_new  2013-06-05 14:30:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gnump3d
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -21,6 +21,7 @@
 BuildRequires:  fdupes
 BuildRequires:  perl-macros
 BuildRequires:  pwdutils
+BuildRequires:  pkgconfig(systemd)
 Version:3.0
 Release:0
 Summary:GNU MP3 Streaming Server
@@ -35,9 +36,11 @@
 Source3:gnump3d-rpmlintrc
 Source1:gnump3d.init
 Source2:gnump3d.logrotate
+Source4:gnump3d.service
 Patch:  gnump3d-Makefile.patch
 Patch1: avoidversion.diff
 %{perl_requires}
+%{?systemd_requires}
 
 %description
 gnump3d is a simple server that allows you to stream MP3s and OGG
@@ -66,6 +69,7 @@
 make PREFIX=/usr DESTDIR=$RPM_BUILD_ROOT install
 # Install inetd init script
 install -m 744 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/gnump3d
+install -D -m 0644 %SOURCE4 %{buildroot}%{_unitdir}/%{name}.service
 (cd $RPM_BUILD_ROOT  ln -sf /etc/init.d/gnump3d usr/sbin/rcgnump3d)
 (cd $RPM_BUILD_ROOT/usr/bin  ln -sfn gnump3d2 gnump3d)
 %fdupes -s $RPM_BUILD_ROOT%{_datadir}/%{name}
@@ -75,7 +79,7 @@
 
 %pre
 /usr/sbin/useradd -r -o -g nogroup -u 63 -s /bin/false -c GNUMP3 daemon -d 
/var/lib/nobody gnump3d 2 /dev/null || :
-
+%service_add_pre %{name}.service
 %post
 # if there is no access.log file, create one with correct permissions.
 # gnump3d does not do this.
@@ -84,13 +88,16 @@
   chmod 640 /var/log/gnump3d/access.log;
   chown gnump3d /var/log/gnump3d/access.log
 }
+%service_add_post %{name}.service
 
 %preun
 %stop_on_removal gnump3d
+%service_del_preun %{name}.service
 
 %postun
 %restart_on_update gnump3d
 %insserv_cleanup
+%service_del_postun %{name}.service
 
 %files
 %defattr(-,root,root)
@@ -133,5 +140,6 @@
 %attr(755,gnump3d,root) %dir %{_var}/cache/gnump3d
 %attr(755,gnump3d,root) %dir %{_var}/cache/gnump3d/serving
 %attr(755,root,root) %dir /srv/mp3
+%{_unitdir}/%{name}.service
 
 %changelog

++ gnump3d.service ++
[Unit]
Description=GNU MP3 Streaming Server
Wants=network.target remote-fs.target
After=network.target remote-fs.target

[Service]
ExecStart=/usr/bin/gnump3d
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gnump3d for openSUSE:Factory

2012-09-14 Thread h_root
Hello community,

here is the log from the commit of package gnump3d for openSUSE:Factory checked 
in at 2012-09-14 12:23:16

Comparing /work/SRC/openSUSE:Factory/gnump3d (Old)
 and  /work/SRC/openSUSE:Factory/.gnump3d.new (New)


Package is gnump3d, Maintainer is p...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/gnump3d/gnump3d.changes  2011-09-23 
02:01:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnump3d.new/gnump3d.changes 2012-09-14 
12:23:17.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 13 05:22:39 UTC 2012 - co...@suse.com
+
+- use perl_requires
+
+---



Other differences:
--
++ gnump3d.spec ++
--- /var/tmp/diff_new_pack.fGDWnn/_old  2012-09-14 12:23:18.0 +0200
+++ /var/tmp/diff_new_pack.fGDWnn/_new  2012-09-14 12:23:18.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package gnump3d (Version 3.0)
+# spec file for package gnump3d
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,18 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   gnump3d
 Url:http://www.gnump3d.org
-BuildRequires:  fdupes pwdutils
-License:GPL-2.0+
-Group:  Productivity/Networking/Web/Servers
-AutoReqProv:on
+BuildRequires:  fdupes
+BuildRequires:  perl-macros
+BuildRequires:  pwdutils
 Version:3.0
-Release:80
+Release:0
 Summary:GNU MP3 Streaming Server
+License:GPL-2.0+
+Group:  Productivity/Networking/Web/Servers
 Requires:   logrotate
 Requires(pre):  /usr/sbin/useradd coreutils
 BuildArch:  noarch
@@ -38,6 +37,7 @@
 Source2:gnump3d.logrotate
 Patch:  gnump3d-Makefile.patch
 Patch1: avoidversion.diff
+%{perl_requires}
 
 %description
 gnump3d is a simple server that allows you to stream MP3s and OGG

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gnump3d for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package gnump3d for openSUSE:Factory checked 
in at 2011-12-06 18:15:16

Comparing /work/SRC/openSUSE:Factory/gnump3d (Old)
 and  /work/SRC/openSUSE:Factory/.gnump3d.new (New)


Package is gnump3d, Maintainer is p...@suse.com

Changes:




Other differences:
--
++ gnump3d.spec ++
--- /var/tmp/diff_new_pack.bJJHtn/_old  2011-12-06 18:22:57.0 +0100
+++ /var/tmp/diff_new_pack.bJJHtn/_new  2011-12-06 18:22:57.0 +0100
@@ -21,7 +21,7 @@
 Name:   gnump3d
 Url:http://www.gnump3d.org
 BuildRequires:  fdupes pwdutils
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Networking/Web/Servers
 AutoReqProv:on
 Version:3.0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org