diff --git a/anyterm.spec b/anyterm.spec index 2be2e41..517ee91 100644 --- a/anyterm.spec +++ b/anyterm.spec @@ -63,6 +63,7 @@ install -Dp -m0644 anytermd.1.gz %{buildroot}%{_mandir}/man1/anytermd.1.gz install -Dp -m0755 %{SOURCE1} %{buildroot}%{_libexecdir}/%{name}/anyterm-cmd install -Dp -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/httpd/conf.d/anyterm.conf install -Dp -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/anyterm.service +install -Dp -m0644 %{SOURCE6} %{buildroot}%{_sysusersdir}/anyterm.conf mkdir -p %{buildroot}%{_datadir}/anyterm/ for f in browser/*.{html,css,js,png,gif}; do @@ -76,9 +77,6 @@ cat < %{buildroot}%{_tmpfilesdir}/%{name}.conf d /run/%{name} 0755 root %{name} EOF -install -m0644 -D %{SOURCE6} %{buildroot}%{_sysusersdir}/anyterm.conf - - %pre %sysusers_create_compat %{SOURCE6}