From e133b907691fa5bfbd1bea7f3af06d53b52e09fe Mon Sep 17 00:00:00 2001 From: coolbeans7 Date: Fri, 24 Jan 2014 08:22:01 -0800 Subject: [PATCH] Update rpm.sh A bit more sentence casing. --- rpm.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpm.sh b/rpm.sh index 074a4515..9b67ba61 100755 --- a/rpm.sh +++ b/rpm.sh @@ -24,25 +24,25 @@ sed -i 's/-'${PREV_VERSION}'.so/-'${VERSION}'.so/g' debian/*.links sudo yum groupinstall "Development Tools" sudo yum install rpmdevtools -# setup the rpmbuild directory tree +# Setup the rpmbuild directory tree rpmdev-setuptree -# create the source code in the SOURCES directory +# Create the source code in the SOURCES directory make clean mkdir -p ~/rpmbuild/SOURCES rm -f ${SOURCE} -# having the root directory called name-version seems essential +# Having the root directory called name-version seems essential mv ../${APP} ../${APP}-${VERSION} tar -cvzf ${SOURCE} ../${APP}-${VERSION} --exclude-vcs -# rename the root directory without the version number +# Rename the root directory without the version number mv ../${APP}-${VERSION} ../${APP} -# copy the spec file into the SPECS directory +# Copy the spec file into the SPECS directory cp -f rpmpackage/${APP}.spec ~/rpmbuild/SPECS -# build +# Build cd ~/rpmbuild/SPECS rpmbuild -ba ${APP}.spec cd ${CURRDIR}