Accepting request 1055232 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1055232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdparm?expand=0&rev=81
This commit is contained in:
Dominique Leuenberger 2023-01-05 13:59:56 +00:00 committed by Git OBS Bridge
commit b9e8bb9b1e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 27 12:26:26 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Wed Sep 14 09:15:05 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package hdparm
#
# 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
@ -60,7 +60,7 @@ install -d "%{buildroot}%{_libexecdir}/hdparm"
install -m 755 contrib/idectl "%{buildroot}%{_libexecdir}/hdparm"
install -m 755 contrib/ultrabayd "%{buildroot}%{_libexecdir}/hdparm"
install -m 755 wiper/wiper.sh "%{buildroot}/%{_sbindir}"
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
mkdir -p "%{buildroot}/sbin"
ln -sf %{_sbindir}/wiper.sh "%{buildroot}/sbin"
ln -sf %{_sbindir}/hdparm "%{buildroot}/sbin"
@ -70,7 +70,7 @@ ln -sf %{_sbindir}/hdparm "%{buildroot}/sbin"
%license LICENSE.TXT
%doc Changelog README.acoustic contrib/README.contrib README.wiper
%{_mandir}/man8/hdparm.8%{?ext_man}
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/sbin/hdparm
/sbin/wiper.sh
%endif