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/