From d5b1e8e1bfe6d08a300ba6633309eff72908ff63706bbbe0d77846218d5b5571 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 17 Sep 2013 11:12:46 +0000 Subject: [PATCH] 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 --- bluez-sdp-unix-path.patch | 11 +++++++++++ bluez.changes | 5 +++++ bluez.spec | 3 ++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 bluez-sdp-unix-path.patch diff --git a/bluez-sdp-unix-path.patch b/bluez-sdp-unix-path.patch new file mode 100644 index 0000000..821e6bf --- /dev/null +++ b/bluez-sdp-unix-path.patch @@ -0,0 +1,11 @@ +--- bluez-5.8.orig/lib/sdp.h ++++ bluez-5.8/lib/sdp.h +@@ -34,7 +34,7 @@ extern "C" { + #include + #include + +-#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 diff --git a/bluez.changes b/bluez.changes index fc44640..c5f9623 100644 --- a/bluez.changes +++ b/bluez.changes @@ -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 diff --git a/bluez.spec b/bluez.spec index d4ab0b2..f5fa2b1 100644 --- a/bluez.spec +++ b/bluez.spec @@ -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/