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