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

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