From de2b252bc2ca41b0efca8bd6597e6d9b07c94eb8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 14 2018 06:58:16 +0000 Subject: Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- diff --git a/dokuwiki.spec b/dokuwiki.spec index 0d61448..82478dc 100644 --- a/dokuwiki.spec +++ b/dokuwiki.spec @@ -147,9 +147,6 @@ pushd $RPM_BUILD_ROOT%{_datadir}/%{name} ln -sf ../../../etc/%name conf popd -%clean -rm -rf $RPM_BUILD_ROOT - %post selinux semanage fcontext -a -t httpd_sys_rw_content_t '%{_sysconfdir}/%{name}(/.*)?' 2>/dev/null || : semanage fcontext -a -t httpd_sys_content_t '%{_datadir}/%{name}(/.*)?' 2>/dev/null || :