From 393e289c2e6a3a0a0f6711bb0ea0af65a242222d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 14 2018 07:14:11 +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/libnet.spec b/libnet.spec index 3fa446d..9e44bb5 100644 --- a/libnet.spec +++ b/libnet.spec @@ -74,9 +74,6 @@ mv -f __dist_sample/sample/libnet_test.h{.new,} # Remove makefile relics from documentation rm -f doc/html/Makefile* -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig