Accepting request 361042 from network:ha-clustering:Factory

1

OBS-URL: https://build.opensuse.org/request/show/361042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd-utils?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2016-02-25 21:07:12 +00:00 committed by Git OBS Bridge
commit a88ef3db14
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 23 05:19:07 UTC 2016 - nwang@suse.com
- bsc#967753. Fix different udev rules folder in Leap and openSUSE.
-------------------------------------------------------------------
Thu Dec 24 06:17:48 UTC 2015 - nwang@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package drbd-utils
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -109,7 +109,10 @@ rm -rf %{buildroot}%{_sysconfdir}/xen
%endif
mkdir -p %{buildroot}/usr/lib/udev/rules.d
if [ -f "%{buildroot}/lib/udev/rules.d/65-drbd.rules" ]
then
mv %{buildroot}/lib/udev/rules.d/65-drbd.rules* %{buildroot}/usr/lib/udev/rules.d/65-drbd.rules
fi
%pre
%service_add_pre drbd.service