From dbc8bcd902270d548a03382c2eb3df491e84647d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 11 Apr 2016 16:38:43 +0200 Subject: [PATCH] Define %clean before %files So the epel macro are not used --- smeserver-letsencrypt-client.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/smeserver-letsencrypt-client.spec b/smeserver-letsencrypt-client.spec index c94edb3..c496f3d 100644 --- a/smeserver-letsencrypt-client.spec +++ b/smeserver-letsencrypt-client.spec @@ -1,5 +1,5 @@ %define version 0.1.6 -%define release 1 +%define release 2 %define name smeserver-letsencrypt-client Summary: Letencrypt client for SME Server @@ -22,6 +22,9 @@ Automatically get certificates from letsencrypt Using https://github.com/lukas2511/letsencrypt.sh %changelog +* Mon Apr 11 2016 Daniel Berteaud - 0.1.6-2.sme +- Define %clean before %files + * Mon Apr 11 2016 Daniel Berteaud - 0.1.6-1.sme - Use chain.pem instead of fullchain.pem @@ -61,12 +64,12 @@ perl createlinks --file /etc/letsencrypt.sh/hooks_clean_challenge.d/10smeserver.sh 'attr(0755,root,root)' \ > %{name}-%{version}-filelist -%files -f %{name}-%{version}-filelist -%defattr(-,root,root) - %clean rm -rf $RPM_BUILD_ROOT +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + %pre %post