Accepting request 1104774 from home:gmbr3:Active

- Use %_firmwaredir

OBS-URL: https://build.opensuse.org/request/show/1104774
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=348
This commit is contained in:
Joey Lee 2023-08-21 04:11:51 +00:00 committed by Git OBS Bridge
parent 9c7717f85e
commit ea094066f4
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 19 13:42:08 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- Use %_firmwaredir
-------------------------------------------------------------------
Wed Aug 16 01:56:45 UTC 2023 - Joey Lee <jlee@suse.com>

View File

@ -30,6 +30,10 @@
%endif
%global modprobe_d_files 50-bluetooth.conf
%if %{undefined _firmwaredir}
%define _firmwaredir /lib/firmware
%endif
Name: bluez
Version: 5.68
Release: 0
@ -235,7 +239,7 @@ export CC=gcc-8
%endif
# header file has "#ifndef FIRMWARE_DIR...#define FIRMWARE_DIR /etc/firmare"
# instead of patching, just supply FIRMWARE_DIR on compiler's command line
export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"/lib/firmware\"'"
export CPPFLAGS="$CPPFLAGS -DFIRMWARE_DIR='\"%{_firmwaredir}\"'"
# because of patch4...
autoreconf -fi
# --enable-experimental is needed or btattach does not build (bug?)