Various fixes related to typos #634

Merged
zeushammer merged 6 commits from master into master 2014-04-30 22:50:57 +02:00
Showing only changes of commit e133b90769 - Show all commits

12
rpm.sh
View File

@ -24,25 +24,25 @@ sed -i 's/-'${PREV_VERSION}'.so/-'${VERSION}'.so/g' debian/*.links
sudo yum groupinstall "Development Tools" sudo yum groupinstall "Development Tools"
sudo yum install rpmdevtools sudo yum install rpmdevtools
# setup the rpmbuild directory tree # Setup the rpmbuild directory tree
rpmdev-setuptree rpmdev-setuptree
# create the source code in the SOURCES directory # Create the source code in the SOURCES directory
make clean make clean
mkdir -p ~/rpmbuild/SOURCES mkdir -p ~/rpmbuild/SOURCES
rm -f ${SOURCE} 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} mv ../${APP} ../${APP}-${VERSION}
tar -cvzf ${SOURCE} ../${APP}-${VERSION} --exclude-vcs 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} 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 cp -f rpmpackage/${APP}.spec ~/rpmbuild/SPECS
# build # Build
cd ~/rpmbuild/SPECS cd ~/rpmbuild/SPECS
rpmbuild -ba ${APP}.spec rpmbuild -ba ${APP}.spec
cd ${CURRDIR} cd ${CURRDIR}