Accepting request 1100437 from home:lnussel:usrmerge

- mdadm.spec: replace transitional %usrmerged macro with regular
  version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1100437
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=227
This commit is contained in:
Coly Li 2023-07-25 06:12:22 +00:00 committed by Git OBS Bridge
parent ea21db88b7
commit eb2a088ed9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 24 15:31:30 UTC 2023 - Ludwig Nussel <lnussel@suse.com>
- mdadm.spec: replace transitional %usrmerged macro with regular
version check (boo#1206798)
-------------------------------------------------------------------
Fri May 26 02:29:42 UTC 2023 - Coly Li <colyli@suse.de>

View File

@ -197,7 +197,7 @@ install -m 644 %{S:2} %{buildroot}%{_fillupdir}/
install -d %{buildroot}%{_systemdshutdowndir}
install -d %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/sbin
ln -s %{_sbindir}/mdadm %{buildroot}/sbin/mdadm
ln -s %{_sbindir}/mdmon %{buildroot}/sbin/mdmon
@ -230,7 +230,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
%doc %{_mandir}/man?/*
%{_sbindir}/*
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/sbin/mdadm
/sbin/mdmon
%endif