Accepting request 898316 from home:lnussel:usrmove

- install to /usr (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/898316
OBS-URL: https://build.opensuse.org/package/show/Base:System/biosdevname?expand=0&rev=81
This commit is contained in:
Thomas Renninger 2021-06-09 11:27:54 +00:00 committed by Git OBS Bridge
parent 7f5d3ad5a2
commit 8b60701096
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 8 09:39:44 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- install to /usr (boo#1029961)
-------------------------------------------------------------------
Fri Sep 18 08:37:25 UTC 2020 - Sebastian Parschauer <sebastian.parschauer@instana.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package biosdevname
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -74,21 +74,17 @@ You can enable/disable usage of biosdevname with boot option
sed -i -e 's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' configure.ac
autoreconf -fi
%configure \
--disable-rpath \
--prefix=/ \
--bindir=/bin \
--sbindir=/sbin
--disable-rpath
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}/sbin/%{name}S || :
%files
%defattr(-,root,root,-)
%license COPYING
%doc README
/sbin/%{name}
%{_sbindir}/%{name}
%{_udevrulesdir}/71-biosdevname.rules
%{_mandir}/man1/*