From bacea423ec898318ac583e27779034f0ab61ea8d4c1f0213f21146045e1c9316 Mon Sep 17 00:00:00 2001 From: Jorik Cronenberg Date: Fri, 11 Nov 2022 10:29:12 +0000 Subject: [PATCH] Accepting request 1031576 from home:gmbr3:Active - Use %_rundir OBS-URL: https://build.opensuse.org/request/show/1031576 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=253 --- dhcp.changes | 5 +++++ dhcp.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dhcp.changes b/dhcp.changes index 9a926c6..7421d02 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 27 15:30:26 UTC 2022 - Callum Farmer + +- Use %_rundir + ------------------------------------------------------------------- Wed Oct 5 14:01:47 UTC 2022 - Reinhard Max diff --git a/dhcp.spec b/dhcp.spec index 7868d29..b0eee06 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -257,13 +257,13 @@ export CFLAGS LDFLAGS FFLAGS CXXFLAGS --enable-binary-leases \ --with-ldap \ --with-ldapcrypto \ - --with-cli-pid-file=%{_localstatedir}/run/dhclient.pid \ + --with-cli-pid-file=%{_rundir}/dhclient.pid \ --with-cli-lease-file=%{_localstatedir}/lib/dhcp/dhclient.leases \ - --with-cli6-pid-file=%{_localstatedir}/run/dhclient6.pid \ + --with-cli6-pid-file=%{_rundir}/dhclient6.pid \ --with-cli6-lease-file=%{_localstatedir}/lib/dhcp6/dhclient.leases \ - --with-srv-pid-file=%{_localstatedir}/run/dhcpd.pid \ + --with-srv-pid-file=%{_rundir}/dhcpd.pid \ --with-srv-lease-file=%{_localstatedir}/lib/dhcp/db/dhcpd.leases \ - --with-srv6-pid-file=%{_localstatedir}/run/dhcpd6.pid \ + --with-srv6-pid-file=%{_rundir}/dhcpd6.pid \ --with-srv6-lease-file=%{_localstatedir}/lib/dhcp6/db/dhcpd6.leases # : building bind sources