From a734577217c399565bc648adfe77ac96d6dec261 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 07:20:57 +0100 Subject: [PATCH] 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 --- mcstrans.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/mcstrans.spec b/mcstrans.spec index 7affa87..ed5548a 100644 --- a/mcstrans.spec +++ b/mcstrans.spec @@ -52,9 +52,6 @@ mkdir -p %{buildroot}%{_unitdir} install -m644 %{SOURCE1} %{buildroot}%{_unitdir} rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/mcstrans -%clean -rm -rf %{buildroot} - %post if [ $1 -eq 1 ] ; then /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :