Actually, we only need to 'make dist-gzip' prior to building the SRPM
This commit is contained in:
@@ -120,6 +120,6 @@ rpm: all
|
||||
sh $(srcdir)/release/makerpm ${PACKAGE_NAME} ${VERSION} ${BUILD} \
|
||||
${RPMARCH} ${srcdir}
|
||||
|
||||
srpm: dist
|
||||
srpm: dist-gzip
|
||||
sh $(srcdir)/release/makesrpm ${PACKAGE_NAME} ${VERSION} ${BUILD} \
|
||||
${srcdir}
|
||||
|
||||
@@ -29,7 +29,7 @@ SRCDIR=$4
|
||||
|
||||
TARBALL=$PACKAGE_NAME-$VERSION.tar.gz
|
||||
if [ ! -f ./$TARBALL ]; then
|
||||
echo ./$TARBALL does not exist. Run make dist first.
|
||||
echo ./$TARBALL does not exist. Run make dist-gzip first.
|
||||
exit -1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user