Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-09-12 19:37:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and      /work/SRC/openSUSE:Factory/.nbd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nbd"

Tue Sep 12 19:37:16 2017 rev:42 rq:522301 version:3.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-06-17 10:20:44.486776892 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes     2017-09-12 
19:37:17.427793019 +0200
@@ -1,0 +2,7 @@
+Thu Sep  7 13:21:03 UTC 2017 - [email protected]
+
+- Add nbd-client.service which will provide a [email protected] to
+  allow other units to require a [email protected] if /etc/nbdtab
+  is configured accordingly
+
+-------------------------------------------------------------------

New:
----
  nbd-client.service

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

Other differences:
------------------
++++++ nbd.spec ++++++
--- /var/tmp/diff_new_pack.HVMWqD/_old  2017-09-12 19:37:17.979715455 +0200
+++ /var/tmp/diff_new_pack.HVMWqD/_new  2017-09-12 19:37:17.983714893 +0200
@@ -27,6 +27,7 @@
 Source1:        %{name}-server.service
 Source3:        config.example
 Source4:        nbd-server.sysconfig
+Source5:        nbd-client.service
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
@@ -64,6 +65,8 @@
 %make_install
 
 # install systemd unit
+install -D -p -m 0644  %{SOURCE5} \
+  %{buildroot}/%{_unitdir}/%{name}@.service
 install -D -p -m 0644  %{SOURCE1} \
   %{buildroot}/%{_unitdir}/%{name}-server.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server
@@ -119,6 +122,7 @@
 %{_bindir}/nbd-trdump
 %{_sbindir}/min-nbd-client
 %{_sbindir}/rcnbd-server
+%{_unitdir}/%{name}@.service
 %{_unitdir}/%{name}-server.service
 %{_mandir}/man1/nbd-server.1%{ext_man}
 %{_mandir}/man1/nbd-trdump.1%{ext_man}

++++++ nbd-client.service ++++++
[Unit]
Description=NBD client connection for %i
Documentation=man:nbd-client(8) man:nbdtab(5)
After=network-online.target

[Service]
Type=forking
ExecStart=/usr/sbin/nbd-client %i
ExecStop=/usr/sbin/nbd-client -d /dev/%i

[Install]
WantedBy=multi-user.target

Reply via email to