- Workaround intermittent build-time package preun failures by dropping PMDA Remove script invocation; (bsc#1197796) - Adjust systemd service types and remove deprecated KillMode=none; (bsc#1186511) + 0010-services-switch-logutil-and-pmieutil-scripts-from-ty.patch OBS-URL: https://build.opensuse.org/request/show/981465 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=119
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
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
|
|
|