Accepting request 1005208 from home:zzhou:branches:network:ha-clustering:Factory
drbd-utils.spec force _localstatedir to use /var/lib in runtime (bsc#1203220) OBS-URL: https://build.opensuse.org/request/show/1005208 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=116
This commit is contained in:
parent
4adf5f2759
commit
0d70d475e9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 13:11:34 UTC 2022 - Roger Zhou <zzhou@suse.com>
|
||||||
|
|
||||||
|
- drbd-utils.spec force _localstatedir to use /var/lib in runtime (bsc#1203220)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 16 07:30:59 UTC 2022 - Roger Zhou <zzhou@suse.com>
|
Fri Sep 16 07:30:59 UTC 2022 - Roger Zhou <zzhou@suse.com>
|
||||||
|
|
||||||
|
@ -112,15 +112,12 @@ PATH=/sbin:$PATH ./configure \
|
|||||||
--with-initscripttype=systemd \
|
--with-initscripttype=systemd \
|
||||||
--with-systemdunitdir=%{_prefix}/lib/systemd/system \
|
--with-systemdunitdir=%{_prefix}/lib/systemd/system \
|
||||||
%if !0%{?usrmerged}
|
%if !0%{?usrmerged}
|
||||||
--prefix=/usr \
|
|
||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
%else
|
%else
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--sbindir=%{_sbindir} \
|
--sbindir=%{_sbindir} \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?is_opensuse}
|
--prefix=%{_prefix} \
|
||||||
--localstatedir=%{_localstatedir} \
|
--localstatedir=%{_localstatedir} \
|
||||||
%endif
|
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir} \
|
||||||
--datarootdir=%{_datadir} \
|
--datarootdir=%{_datadir} \
|
||||||
@ -136,10 +133,6 @@ PATH=/sbin:$PATH ./configure \
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%if !0%{?usrmerged}
|
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/drbd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifnarch %{ix86} x86_64
|
%ifnarch %{ix86} x86_64
|
||||||
rm -rf %{buildroot}%{_sysconfdir}/xen
|
rm -rf %{buildroot}%{_sysconfdir}/xen
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user