working on rpm

This commit is contained in:
Oleg Moskalenko 2015-07-19 00:01:12 -07:00
parent e770441b33
commit 183895d8c6
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ if ! [ -f ${BUILDDIR}/SPECS/${LIBEVENT_SPEC_FILE} ] ; then
rm -rf ${LIBEVENT_SPEC_DIR}
mkdir ${LIBEVENT_SPEC_DIR}
cd ${LIBEVENT_SPEC_DIR}
wget --quiet --no-check-certificate ${LIBEVENT_SPEC_GIT_URL}/${LIBEVENT_SPEC_FILE}
wget ${WGETOPTIONS} ${LIBEVENT_SPEC_GIT_URL}/${LIBEVENT_SPEC_FILE}
ER=$?
if ! [ ${ER} -eq 0 ] ; then
cd ${CPWD}

View File

@ -26,7 +26,7 @@ To build the TURN server:
mysql-devel (or mariadb-devel), postgresql-devel, hiredis-devel
4) $ mkdir ~/rpmbuild
5) $ mkdir ~/rpmbuild/SOURCES
6) Export the TURN server from Github, "git clone git@github.com:coturn/coturn.git"
6) Export the TURN server from Github, "git clone https://github.com/coturn/coturn.git"
7) Create a tarball, "tar zcf ~/rpmbuild/SOURCES/turnserver-2.6.7.0.tar.gz turnserver-2.6.7.0"
8) Build the RPMs, "rpmbuild -ta ~/rpmbuild/SOURCES/turnserver-2.6.7.0.tar.gz"

View File

@ -5,7 +5,7 @@
TURNVERSION=4.4.5.4
BUILDDIR=~/rpmbuild
ARCH=`uname -p`
TURNSERVER_GIT_URL=git@github.com:coturn/coturn.git
TURNSERVER_GIT_URL=https://github.com/coturn/coturn.git
WGETOPTIONS="--no-check-certificate"
RPMOPTIONS="-ivh --force"