From 7a07d7c188c4400ddff03599913fd9b3be34c94c Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 27 Mar 2006 03:52:37 +1000 Subject: [PATCH] Add hint on how to fix missing rpm-build when trying make rpm darcs-hash:20060326175237-ac50b-703940a231be96991d5d94c451b12f7c4e6f649f.gz --- Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.in b/Makefile.in index 775b774ef..f03bf30f7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -540,6 +540,12 @@ fish-@PACKAGE_VERSION@.tar.bz2: fish-@PACKAGE_VERSION@.tar # Create .rpm file for the current systems architecture and an # .src.rpm file. rpm: fish-@PACKAGE_VERSION@.tar.bz2 + @if !which rpmbuild; then \ + echo Could not find the rpmbuild command, needed to build an rpm; \ + echo You may be able to install it using the following command:; \ + echo \'yum install rpm-build\'; \ + false; \ + fi cp fish.spec /usr/src/redhat/SPECS/ cp fish-@PACKAGE_VERSION@.tar.bz2 /usr/src/redhat/SOURCES/ rpmbuild -ba --clean /usr/src/redhat/SPECS/fish.spec