Accepting request 1030858 from network:ha-clustering:Factory

OBS-URL: https://build.opensuse.org/request/show/1030858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocfs2-tools?expand=0&rev=85
This commit is contained in:
Dominique Leuenberger 2022-10-25 09:19:36 +00:00 committed by Git OBS Bridge
commit bbc8b8d099
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 24 10:06:00 UTC 2022 - heming.zhao@suse.com
- ocfs2-tools: finish UsrMerge, install to /usr (bsc#1191084)
+ modify ocfs2_tools.spec to use %suse_version to replace %UsrMerge
-------------------------------------------------------------------
Sat Oct 22 08:40:00 UTC 2022 - heming.zhao@suse.com

View File

@ -22,7 +22,7 @@
%endif
#see bsc#1191084
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
# for SLEs
%define sbindir /sbin
%else
@ -194,7 +194,7 @@ autoreconf -fi -I /usr/share/aclocal
%endif
--enable-dynamic-fsck=yes \
--enable-dynamic-ctl=yes \
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
# "do nothing"
%else
--with-root-prefix=/usr
@ -235,7 +235,7 @@ cd reflink
make DESTDIR="%{buildroot}" install
cd ..
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mv %{buildroot}/{,/usr}/sbin/o2image
mv %{buildroot}/{,/usr}/sbin/debugfs.ocfs2
#mv %{buildroot}/{,/usr}/sbin/ocfs2_controld.pcmk