File makefile-remove-clean-rpm.patch of Package gearmand

Index: gearmand-1.1.13/Makefile.am
===================================================================
--- gearmand-1.1.13.orig/Makefile.am
+++ gearmand-1.1.13/Makefile.am
@@ -94,7 +94,7 @@ configmake.h: Makefile
 	  mv $@-t $@ ; \
 	  fi
 
-clean-local: clean-libtest-check clean-rpm
+clean-local: clean-libtest-check
 
 maintainer-clean-local:
 	find . -type f -name '*~' -exec rm -f '{}' \;
Index: gearmand-1.1.13/Makefile.in
===================================================================
--- gearmand-1.1.13.orig/Makefile.in
+++ gearmand-1.1.13/Makefile.in
@@ -9755,11 +9755,6 @@ rpm-sign: $(RPM_BUILD_TARGET)
 	@@RPM@ --addsign $(RPM_DIST)
 	@@RPM@ --checksig $(RPM_DIST)
 
-.PHONY: clean-rpm
-clean-rpm:
-	-@rm -f $(BUILD_RPMS) $(BUILD_SRPMS) $(BUILD_RPM_SOURCE) $(RPM_DIST) $(BUILD_DAEMON_INIT)
-	-@rm -rf $(BUILD_RPM_DIR)
-
 dist-rpm: $(RPM_BUILD_TARGET)
 
 .PHONY: release
@@ -9794,7 +9789,7 @@ configmake.h: Makefile
 	  mv $@-t $@ ; \
 	  fi
 
-clean-local: clean-libtest-check clean-rpm
+clean-local: clean-libtest-check
 
 maintainer-clean-local:
 	find . -type f -name '*~' -exec rm -f '{}' \;
openSUSE Build Service is sponsored by