Skip to content

Commit

Permalink
remove %t hack, el8 does not need it
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Feb 4, 2025
1 parent 9ab04a2 commit 3bcc285
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions builder-support/specs/pdns-recursor.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 || \
Expand Down
5 changes: 0 additions & 5 deletions builder-support/specs/pdns.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3bcc285

Please sign in to comment.