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
This commit is contained in:
Thomas Renninger 2021-04-27 14:54:06 +00:00 committed by Git OBS Bridge
parent f0fb8c47f1
commit c70dea3e18
3 changed files with 8 additions and 3 deletions

View File

@ -83,7 +83,7 @@ Index: openhpi-3.8.0/openhpid/openhpid.service.in
+ +
+[Service] +[Service]
+Type=forking +Type=forking
+PIDFile=/var/run/openhpid.pid +PIDFile=/run/openhpid.pid
+ExecStart=@sbindir@/openhpid -c @sysconfdir@/openhpi/openhpi.conf +ExecStart=@sbindir@/openhpid -c @sysconfdir@/openhpi/openhpi.conf
+ +
+[Install] +[Install]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 27 14:26:51 UTC 2021 - Thomas Renninger <trenn@suse.de>
- Use /run not /var/run for PID file creation (bsc#1185173)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 4 18:56:16 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Thu Oct 4 18:56:16 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package openhpi # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -76,11 +76,11 @@ Requires: e2fsprogs-devel
Requires: gdbm-devel Requires: gdbm-devel
Requires: glib2-devel Requires: glib2-devel
Requires: glibc-devel Requires: glibc-devel
Requires: libopenhpi4 = %{version}
Requires: libstdc++-devel Requires: libstdc++-devel
Requires: libtool Requires: libtool
Requires: ncurses-devel Requires: ncurses-devel
Requires: net-snmp-devel Requires: net-snmp-devel
Requires: libopenhpi4 = %{version}
Requires: openssl-devel Requires: openssl-devel
Requires: popt-devel Requires: popt-devel
Requires: zlib-devel Requires: zlib-devel