diff --git a/drbd.changes b/drbd.changes index 723809c..5943743 100644 --- a/drbd.changes +++ b/drbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 25 04:52:12 UTC 2015 - nwang@suse.com + +- BSC#947460, add rcdrbd symlink. + ------------------------------------------------------------------- Wed Aug 19 08:50:27 UTC 2015 - nwang@suse.com diff --git a/drbd.spec b/drbd.spec index 1729899..51b9197 100644 --- a/drbd.spec +++ b/drbd.spec @@ -94,6 +94,8 @@ for flavor in %{flavors_to_build} ; do #mv obj/$flavor/.kernel.config.gz obj/k-config-$kernelrelease.gz done +mkdir -p %{buildroot}/%{_sbindir} +%{__ln_s} -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} rm -f drbd.conf %clean @@ -103,5 +105,6 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc COPYING %doc ChangeLog +%{_sbindir}/rc%{name} %changelog