summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 590dd3e..9e60f7a 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,5 +1,3 @@
-For more information on using the Fedora source code repositories,
-please visit http://fedoraproject.org/wiki/UsingCvs
#########################################################################
# Makefile.common
#
@@ -178,6 +176,7 @@ endif
# Obtain the document version and release info for building RPM's
SPECFILE=$(firstword $(wildcard *.spec))
+ifneq "${SPECFILE}" ""
# the name of the package
ifndef NAME
NAME := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{NAME}\n" \
@@ -193,6 +192,7 @@ ifndef RELEASE
RELEASE := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{RELEASE}\n" \
--specfile ${SPECFILE} | head -1)
endif
+endif
#########################################################################