Accepting request 199034 from home:elvigia:branches:Base:System

- place socket in /run , not /var/run (bluez-sdp-unix-path.patch)

OBS-URL: https://build.opensuse.org/request/show/199034
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=146
This commit is contained in:
Andreas Jaeger 2013-09-17 11:12:46 +00:00 committed by Git OBS Bridge
parent b974b78279
commit d5b1e8e1bf
3 changed files with 18 additions and 1 deletions

11
bluez-sdp-unix-path.patch Normal file
View File

@ -0,0 +1,11 @@
--- bluez-5.8.orig/lib/sdp.h
+++ bluez-5.8/lib/sdp.h
@@ -34,7 +34,7 @@ extern "C" {
#include <stdint.h>
#include <bluetooth/bluetooth.h>
-#define SDP_UNIX_PATH "/var/run/sdp"
+#define SDP_UNIX_PATH "/run/sdp"
#define SDP_RESPONSE_TIMEOUT 20
#define SDP_REQ_BUFFER_SIZE 2048
#define SDP_RSP_BUFFER_SIZE 65535

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 14 08:01:17 UTC 2013 - crrodriguez@opensuse.org
- place socket in /run , not /var/run (bluez-sdp-unix-path.patch)
-------------------------------------------------------------------
Fri Aug 16 18:43:49 UTC 2013 - seife+obs@b1-systems.com

View File

@ -35,6 +35,7 @@ Source6: README.SUSE
Source7: bluetooth.modprobe
Source99: README.packagers
Patch1: bluez-5.4-compilerwarning.diff
Patch2: bluez-sdp-unix-path.patch
BuildRequires: alsa-devel
BuildRequires: automake
BuildRequires: check-devel
@ -113,7 +114,7 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
cp %{SOURCE6} .
mkdir dbus-apis
cp -a doc/*.txt dbus-apis/