- fix https://github.com/networkupstools/nut/issues/200 * 0001-Restore-systemd-relationship-with-nut-driver-service.patch - update to 2.7.3 (bugfixes and new devices support) see NEWS and UPGRADING in /usr/share/doc/packages/nut - refreshed patches: * nut-notifyflag.patch: rename of upsmon.conf.sample.in * nut-preconfig.patch: rename of upsmon.conf.sample.in * nut-systemd-dirs.patch: refresh to 2.7.3 - changed keyring to new key 55CA5976 (Arnaud Quette <arnaud.quette@free.fr>) OBS-URL: https://build.opensuse.org/request/show/307729 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=53
19 lines
784 B
Diff
19 lines
784 B
Diff
Index: nut-2.7.3/configure.ac
|
|
===================================================================
|
|
--- nut-2.7.3.orig/configure.ac
|
|
+++ nut-2.7.3/configure.ac
|
|
@@ -1065,7 +1065,12 @@ dnl Override installation directory, wit
|
|
dnl prefix. This is needed for 'distcheck*' targets, otherwise
|
|
dnl files will try to get intalled to the actual system directories
|
|
if test -n "${systemdsystemunitdir}"; then
|
|
- systemdsystemshutdowndir="${libdir}/systemd/system-shutdown"
|
|
+ systemdutildir=`$PKG_CONFIG --variable=systemdutildir systemd`
|
|
+ if test -n "${systemdutildir}"; then
|
|
+ systemdsystemshutdowndir="${systemdutildir}/system-shutdown"
|
|
+ else
|
|
+ systemdsystemshutdowndir="${systemdsystemunitdir}/system-shutdown"
|
|
+ fi
|
|
AC_MSG_RESULT(using ${systemdsystemunitdir})
|
|
else
|
|
AC_MSG_RESULT(no)
|