diff --git a/certbot.spec b/certbot.spec index 5348265..ec3ec20 100644 --- a/certbot.spec +++ b/certbot.spec @@ -116,7 +116,7 @@ cp -p %{SOURCE14} README.fedora # project uses old letsencrypt dir for compatibility install -dm 0755 %{buildroot}%{_sysconfdir}/%{oldpkg} install -dm 0755 %{buildroot}%{_sharedstatedir}/%{oldpkg} -install -dm 0755 %{buildroot}%{_localstatedir}/log +install -dm 0755 %{buildroot}%{_localstatedir}/log/letsencrypt %check %{__python3} -m pytest @@ -145,7 +145,7 @@ restorecon -R %{_sysconfdir}/letsencrypt || : # %%doc %%attr(0644,root,root) %%{_mandir}/man1/%%{name}* %dir %{_sysconfdir}/%{oldpkg} %dir %{_sharedstatedir}/%{oldpkg} -%dir %{_localstatedir}/log +%dir %{_localstatedir}/log/letsencrypt %config(noreplace) %{_sysconfdir}/%{oldpkg}/cli.ini %config(noreplace) %{_sysconfdir}/sysconfig/certbot %{_unitdir}/certbot-renew.service