Accepting request 849660 from network:ha-clustering:Factory

OBS-URL: https://build.opensuse.org/request/show/849660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd-utils?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2020-11-21 11:43:18 +00:00 committed by Git OBS Bridge
commit f00bc81365
2 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 17 16:01:34 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Mon Oct 12 12:12:12 UTC 2020 - ohering@suse.de

View File

@ -15,6 +15,11 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if !0%{?usrmerged}
%define sbindir /sbin
%else
%define sbindir %{_sbindir}
%endif
%bcond_without drbdmon
# Man pages are included in the released tarball.
@ -96,8 +101,12 @@ PATH=/sbin:$PATH ./configure \
--with-bashcompletion \
--with-initscripttype=systemd \
--with-systemdunitdir=%{_prefix}/lib/systemd/system \
%if !0%{?usrmerged}
--prefix=/ \
--sbindir=/sbin \
%else
--prefix=%{_prefix} \
%endif
--libdir=%{_prefix}/lib \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
@ -162,11 +171,11 @@ ln -sf drbdmon-9.0.8.gz %{_mandir}/ja/man8/drbdmon.8.gz
%dir %{_sysconfdir}/drbd.d
%dir %{_sysconfdir}/multipath
%dir %{_sysconfdir}/multipath/conf.d
/sbin/drbdadm
/sbin/drbdsetup
/sbin/drbdmeta
%{sbindir}/drbdadm
%{sbindir}/drbdsetup
%{sbindir}/drbdmeta
%if %{with drbdmon}
/sbin/drbdmon
%{sbindir}/drbdmon
%endif
%ifarch %{ix86} x86_64
%dir %attr(700,root,root) %{_sysconfdir}/xen