[packages/certbot] use dir attribute to package dirs
glen
glen at pld-linux.org
Wed Dec 28 20:39:32 CET 2016
commit 3f310c0c48e9bcc81d335e398811ca56b357a5a6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Dec 28 21:39:25 2016 +0200
use dir attribute to package dirs
certbot.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/certbot.spec b/certbot.spec
index 702ca66..fff93e0 100644
--- a/certbot.spec
+++ b/certbot.spec
@@ -91,7 +91,6 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/log,/var/lib}/letsencrypt
%py_install
@@ -120,9 +119,9 @@ rm -rf $RPM_BUILD_ROOT
%else
%doc docs/*.rst docs/api docs/man
%endif
-%{_sysconfdir}/letsencrypt
-/var/log/letsencrypt
-/var/lib/letsencrypt
+%dir %{_sysconfdir}/letsencrypt
+%dir /var/log/letsencrypt
+%dir /var/lib/letsencrypt
%attr(755,root,root) %{_bindir}/certbot
%{py_sitescriptdir}/certbot
%{py_sitescriptdir}/certbot-%{version}*-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/certbot.git/commitdiff/3f310c0c48e9bcc81d335e398811ca56b357a5a6
More information about the pld-cvs-commit
mailing list