From 434d63f43674b45d135d33f0933eef6630d5d2b2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 14 2018 07:40:42 +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/prosody.spec b/prosody.spec index 644aa55..c959c67 100644 --- a/prosody.spec +++ b/prosody.spec @@ -129,9 +129,6 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/util/*.so # Fix incorrect end-of-line encoding sed -e 's/\r//g' -i doc/stanza.txt doc/session.txt doc/roster_format.txt -%clean -rm -rf $RPM_BUILD_ROOT - %pre getent group %{name} > /dev/null || %{_sbindir}/groupadd -r %{name} getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_localstatedir}/lib/%{name} -s /sbin/nologin -c "Prosody XMPP Server" %{name}