Add default /etc/dict.conf so that dict client works by default
as it used to (rh#2342818).
This commit is contained in:
parent
305d37fb9d
commit
bd69a03d7c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 29 17:14:30 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Add default /etc/dict.conf so that dict client works by default
|
||||||
|
as it used to (rh#2342818).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 18 11:00:22 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
Mon Nov 18 11:00:22 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
@ -107,6 +107,11 @@ database_exit
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF >%{buildroot}/%{_sysconfdir}/dict.conf
|
||||||
|
# This is an example, you should define your own servers
|
||||||
|
server dict.org
|
||||||
|
EOF
|
||||||
|
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
||||||
|
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdictd
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdictd
|
||||||
@ -151,6 +156,7 @@ chmod 644 %{_localstatedir}/log/dictd
|
|||||||
%attr(0644,root,root) %{_unitdir}/dictd.service
|
%attr(0644,root,root) %{_unitdir}/dictd.service
|
||||||
%config(noreplace) %{_sysconfdir}/colorit.conf
|
%config(noreplace) %{_sysconfdir}/colorit.conf
|
||||||
%config(noreplace) %{_sysconfdir}/dictd.conf
|
%config(noreplace) %{_sysconfdir}/dictd.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/dict.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user