pcp/0009-remove-rundir-install.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

From 41afafe153da87753aa91d5669c2ddbd0b720afb Mon Sep 17 00:00:00 2001
From: David Disseldorp <ddiss@suse.de>
Date: Mon, 16 May 2022 17:50:09 +0200
Subject: [PATCH] build: remove rundir install
Signed-off-by: David Disseldorp <ddiss@suse.de>
---
GNUmakefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 8b866eb77..0a67e9d27 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -80,9 +80,9 @@ ifneq ($(TARGET_OS),mingw)
$(INSTALL) -m 1777 -d $(PCP_TMPFILE_DIR)
endif
$(INSTALL) -m 775 -o $(PCP_USER) -g $(PCP_GROUP) -d $(PCP_TMP_DIR)
-ifeq "$(findstring $(PACKAGE_DISTRIBUTION), debian)" ""
+ifeq (, $(filter debian suse, $(PACKAGE_DISTRIBUTION)))
# PCP_RUN_DIR usually -> /var/run which may be a temporary filesystem
- # and Debian's lintian complains about packages including /var/run/xxx
+ # and lint checks may complain about packages including /var/run/xxx
# artifacts ... PCP_RUN_DIR is also conditionally created on the
# fly in each before use case, so the inclusion in the package is
# sometimes desirable, but not mandatory
--
2.35.3