Hello community, here is the log from the commit of package nbd for openSUSE:Factory checked in at 2016-02-11 12:37:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nbd (Old) and /work/SRC/openSUSE:Factory/.nbd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nbd" Changes: -------- --- /work/SRC/openSUSE:Factory/nbd/nbd.changes 2016-02-08 09:48:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2016-02-11 12:37:36.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 8 13:20:09 UTC 2016 - dmuel...@suse.com + +- autoload nbd module + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nbd.spec ++++++ --- /var/tmp/diff_new_pack.lv3RDJ/_old 2016-02-11 12:37:36.000000000 +0100 +++ /var/tmp/diff_new_pack.lv3RDJ/_new 2016-02-11 12:37:36.000000000 +0100 @@ -38,6 +38,7 @@ Suggests: nbd-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1210 +BuildRequires: systemd BuildRequires: systemd-rpm-macros %systemd_requires %else @@ -107,6 +108,12 @@ ln -s ../..%{_initddir}/nbd-server %{buildroot}%{_sbindir}/rc%{name}-server %endif +%if 0%{?suse_version} >= 1210 +# autoload nbd module +install -d -m 750 %{buildroot}/etc/modules-load.d/ +echo "nbd" > %{buildroot}/etc/modules-load.d/%name.conf +%endif + #echo "#Port file options" > $RPM_BUILD_ROOT/etc/nbd-server.conf mkdir -p %{buildroot}%{_sysconfdir}/nbd-server touch %{buildroot}%{_sysconfdir}/nbd-server/config @@ -134,6 +141,9 @@ %ghost %config(noreplace) %{_sysconfdir}/nbd-server/config %ghost %config(noreplace) %{_sysconfdir}/nbd-server/allow %config %{_sysconfdir}/nbd-server/config.example +%if 0%{?suse_version} >= 1210 +%{_sysconfdir}/modules-load.d/%name.conf +%endif %{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server %files doc