Preserve timestamp for sysusers conf

This commit is contained in:
Alexander Boström 2025-04-25 19:17:53 +02:00
commit dae44c450a

View file

@ -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 <<EOF > %{buildroot}%{_tmpfilesdir}/%{name}.conf
d /run/%{name} 0755 root %{name}
EOF
install -m0644 -D %{SOURCE6} %{buildroot}%{_sysusersdir}/anyterm.conf
%pre
%sysusers_create_compat %{SOURCE6}