Accepting request 1053507 from home:lnussel:usrmerge

- Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1053507
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmraid?expand=0&rev=64
This commit is contained in:
Neil Brown 2023-01-05 22:03:44 +00:00 committed by Git OBS Bridge
parent 13429be4ec
commit ad63cd0d26
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 27 10:33:15 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Tue May 17 07:54:00 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package dmraid
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%if 0%{?usrmerged}
%if 0%{?suse_version} >= 1550
%define sbindir %_sbindir
%else
%define sbindir /sbin
@ -110,7 +110,7 @@ autoreconf -fi
rm -r autom4te.cache
%configure \
--with-usrlibdir=%{_libdir} \
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
--sbindir=%{sbindir} \
%endif
--with-user=`id -nu` --with-group=`id -ng` \