Blame SOURCES/0001-build-Always-define-confdir-and-statedir.patch

b05691
From 5a62336f4da3a2d1a1ab38d03980d57844bce147 Mon Sep 17 00:00:00 2001
b05691
From: Gopal Tiwari <gtiwari@redhat.com>
b05691
Date: Mon, 8 Jun 2020 20:56:46 +0530
b05691
Subject: [PATCH BlueZ 1/4] build: Always define confdir and statedir
b05691
e0630b
From 69d2e7bebb79f500179298c6c51fafbc217df6c8 Mon Sep 17 00:00:00 2001
e0630b
From: Bastien Nocera <hadess@hadess.net>
e0630b
Date: Wed, 20 Sep 2017 12:49:10 +0200
b05691
b05691
build: Always define confdir and statedir
e0630b
e0630b
As we will need those paths to lock down on them.
e0630b
---
b05691
 Makefile.am | 5 +++--
b05691
 1 file changed, 3 insertions(+), 2 deletions(-)
e0630b
e0630b
diff --git a/Makefile.am b/Makefile.am
b05691
index 84c9712c9..6e77ed91e 100644
e0630b
--- a/Makefile.am
e0630b
+++ b/Makefile.am
b05691
@@ -31,14 +31,15 @@ pkginclude_HEADERS =
b05691
 AM_CFLAGS = $(WARNING_CFLAGS) $(MISC_CFLAGS) $(UDEV_CFLAGS) $(ell_cflags)
e0630b
 AM_LDFLAGS = $(MISC_LDFLAGS)
e0630b
 
e0630b
+confdir = $(sysconfdir)/bluetooth
e0630b
+statedir = $(localstatedir)/lib/bluetooth
e0630b
+
e0630b
 if DATAFILES
b05691
 dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
e0630b
 dbus_DATA = src/bluetooth.conf
e0630b
 
e0630b
-confdir = $(sysconfdir)/bluetooth
e0630b
 conf_DATA =
b05691
 
e0630b
-statedir = $(localstatedir)/lib/bluetooth
e0630b
 state_DATA =
e0630b
 endif
e0630b
 
e0630b
-- 
b05691
2.21.1
e0630b