Accepting request 847558 from home:lnussel:firmware

- use %_firmwaredir

OBS-URL: https://build.opensuse.org/request/show/847558
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez-firmware?expand=0&rev=12
This commit is contained in:
Dirk Mueller 2020-11-26 10:04:43 +00:00 committed by Git OBS Bridge
parent 80b3297239
commit 8e6e5461ed
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 19 12:56:28 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- use %_firmwaredir
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 4 09:50:37 UTC 2015 - mpluskal@suse.com Sat Apr 4 09:50:37 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package bluez-firmware # spec file for package bluez-firmware
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,9 +20,9 @@ Name: bluez-firmware
Version: 1.2 Version: 1.2
Release: 0 Release: 0
Summary: Bluetooth(TM) Firmware Summary: Bluetooth(TM) Firmware
License: GPL-2.0+ and GPL-2.0 and SUSE-Firmware License: GPL-2.0-or-later AND GPL-2.0-only AND SUSE-Firmware
Group: Hardware/Mobile Group: Hardware/Mobile
Url: http://bluez.sourceforge.net URL: http://bluez.sourceforge.net
Source0: http://bluez.sf.net/download/%{name}-%{version}.tar.gz Source0: http://bluez.sf.net/download/%{name}-%{version}.tar.gz
Source1: bfusb.tar.bz2 Source1: bfusb.tar.bz2
BuildRequires: automake BuildRequires: automake
@ -48,17 +48,17 @@ The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
%build %build
autoreconf -fi autoreconf -fi
%configure \ %configure \
--libdir=/lib --libdir=%{_firmwaredir}/../
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
rm %{buildroot}/lib/firmware/BCM-LEGAL.txt rm %{buildroot}%{_firmwaredir}/BCM-LEGAL.txt
install -D -m 644 ../bfusb/bfubase.frm %{buildroot}/lib/firmware/bfubase.frm install -D -m 644 ../bfusb/bfubase.frm %{buildroot}%{_firmwaredir}/bfubase.frm
%files %files
%defattr(-, root, root) %defattr(-, root, root)
/lib/firmware/* %{_firmwaredir}/*
%doc AUTHORS COPYING INSTALL ChangeLog README broadcom/BCM-LEGAL.txt %doc AUTHORS COPYING INSTALL ChangeLog README broadcom/BCM-LEGAL.txt
%changelog %changelog