Accepting request 518657 from network:ha-clustering:Unstable
fate#323392, enable drbdmon which imported in 8.9.10 OBS-URL: https://build.opensuse.org/request/show/518657 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=47
This commit is contained in:
parent
58fbcb1c1e
commit
e822cc26bb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 25 06:45:36 UTC 2017 - nwang@suse.com
|
||||||
|
|
||||||
|
- fate#323392, enable drbdmon which imported in 8.9.10
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 11 06:09:20 UTC 2017 - nwang@suse.com
|
Fri Aug 11 06:09:20 UTC 2017 - nwang@suse.com
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_without drbdmon
|
||||||
|
|
||||||
Name: drbd-utils
|
Name: drbd-utils
|
||||||
Version: 9.0.0
|
Version: 9.0.0
|
||||||
@ -62,6 +63,9 @@ BuildRequires: make
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
|
%if %{with drbdmon}
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
%endif
|
||||||
Provides: drbd-control
|
Provides: drbd-control
|
||||||
Provides: drbdsetup
|
Provides: drbdsetup
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -101,6 +105,7 @@ PATH=/sbin:$PATH ./configure \
|
|||||||
--datadir=%{_datadir} \
|
--datadir=%{_datadir} \
|
||||||
--libdir=%{_prefix}/lib \
|
--libdir=%{_prefix}/lib \
|
||||||
--exec_prefix=%{_prefix}/lib \
|
--exec_prefix=%{_prefix}/lib \
|
||||||
|
%{?with_drbdmon: --with-drbdmon} \
|
||||||
--with-tmpfilesdir=%{_tmpfilesdir}
|
--with-tmpfilesdir=%{_tmpfilesdir}
|
||||||
|
|
||||||
make OPTFLAGS="%{optflags}" %{?_smp_mflags}
|
make OPTFLAGS="%{optflags}" %{?_smp_mflags}
|
||||||
@ -142,6 +147,9 @@ rm -rf %{buildroot}%{_sysconfdir}/xen
|
|||||||
/sbin/drbdsetup
|
/sbin/drbdsetup
|
||||||
/sbin/drbdmeta
|
/sbin/drbdmeta
|
||||||
/sbin/drbd-overview
|
/sbin/drbd-overview
|
||||||
|
%if %{with drbdmon}
|
||||||
|
/sbin/drbdmon
|
||||||
|
%endif
|
||||||
%ifarch %ix86 x86_64
|
%ifarch %ix86 x86_64
|
||||||
%dir %attr(700,root,root) %{_sysconfdir}/xen
|
%dir %attr(700,root,root) %{_sysconfdir}/xen
|
||||||
%dir %{_sysconfdir}/xen/scripts
|
%dir %{_sysconfdir}/xen/scripts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user