From c70dea3e1811c0b3cdbdbdb82ef892c423d03dc1012f48544997924e7916fcc7 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 27 Apr 2021 14:54:06 +0000 Subject: [PATCH] Accepting request 888837 from home:trenn:branches:systemsmanagement - Use /run not /var/run for PID file creation (bsc#1185173) OBS-URL: https://build.opensuse.org/request/show/888837 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=42 --- openhpi-3.4.0-systemd.patch | 2 +- openhpi.changes | 5 +++++ openhpi.spec | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/openhpi-3.4.0-systemd.patch b/openhpi-3.4.0-systemd.patch index 69dd981..ad25d4b 100644 --- a/openhpi-3.4.0-systemd.patch +++ b/openhpi-3.4.0-systemd.patch @@ -83,7 +83,7 @@ Index: openhpi-3.8.0/openhpid/openhpid.service.in + +[Service] +Type=forking -+PIDFile=/var/run/openhpid.pid ++PIDFile=/run/openhpid.pid +ExecStart=@sbindir@/openhpid -c @sysconfdir@/openhpi/openhpi.conf + +[Install] diff --git a/openhpi.changes b/openhpi.changes index 95c380d..0b9e832 100644 --- a/openhpi.changes +++ b/openhpi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 27 14:26:51 UTC 2021 - Thomas Renninger + +- Use /run not /var/run for PID file creation (bsc#1185173) + ------------------------------------------------------------------- Thu Oct 4 18:56:16 UTC 2018 - Jan Engelhardt diff --git a/openhpi.spec b/openhpi.spec index 526b17a..1103aa7 100644 --- a/openhpi.spec +++ b/openhpi.spec @@ -1,7 +1,7 @@ # # spec file for package openhpi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -76,11 +76,11 @@ Requires: e2fsprogs-devel Requires: gdbm-devel Requires: glib2-devel Requires: glibc-devel +Requires: libopenhpi4 = %{version} Requires: libstdc++-devel Requires: libtool Requires: ncurses-devel Requires: net-snmp-devel -Requires: libopenhpi4 = %{version} Requires: openssl-devel Requires: popt-devel Requires: zlib-devel