]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
remove %t hack, el8 does not need it
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 4 Feb 2025 11:10:11 +0000 (12:10 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 4 Feb 2025 11:55:40 +0000 (12:55 +0100)
builder-support/specs/pdns-recursor.spec
builder-support/specs/pdns.spec

index 30e830144eb59192d8c879873adfe8e92494f339..8559a551f0567152bdf89bdcf0120609306b2f63 100644 (file)
@@ -88,11 +88,6 @@ EOF
 
 %{__install } -d %{buildroot}/%{_sharedstatedir}/%{name}
 
-# The EL7 and 8 systemd actually supports %t, but its version number is older than that, so we do use seperate runtime dirs, but don't rely on RUNTIME_DIRECTORY
-%if 0%{?rhel} < 9
-sed -e 's!/pdns_recursor!& --socket-dir=%t/pdns-recursor!' -i %{buildroot}/%{_unitdir}/pdns-recursor.service
-%endif
-
 %pre
 getent group pdns-recursor > /dev/null || groupadd -r pdns-recursor
 getent passwd pdns-recursor > /dev/null || \
index 6acefb4f042168dc86b61cc1de41b9d7472225db..6674bf371a71629e23cd6a1fcddba5f8c8d77dee 100644 (file)
@@ -218,11 +218,6 @@ chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
 
 %{__install } -d %{buildroot}/%{_sharedstatedir}/%{name}
 
-# The EL7 and 8 systemd actually supports %t, but its version number is older than that, so we do use seperate runtime dirs, but don't rely on RUNTIME_DIRECTORY
-%if 0%{?rhel} < 9
-sed -e 's!/pdns_server!& --socket-dir=%t/pdns!' -i %{buildroot}/%{_unitdir}/pdns.service
-%endif
-
 %check
 PDNS_TEST_NO_IPV6=1 make %{?_smp_mflags} -C pdns check || (cat pdns/test-suite.log && false)