From 39c358f3de97f647de637359e08ff0a0df6fb8d5 Mon Sep 17 00:00:00 2001 From: Oleg Moskalenko Date: Sun, 19 Jul 2015 00:14:21 -0700 Subject: [PATCH] working on rpm --- rpm/CentOS6.pre.build.sh | 6 ++++++ rpm/turnserver.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rpm/CentOS6.pre.build.sh b/rpm/CentOS6.pre.build.sh index c18cd70f..9e1e61ca 100755 --- a/rpm/CentOS6.pre.build.sh +++ b/rpm/CentOS6.pre.build.sh @@ -39,6 +39,12 @@ if ! [ -f ${BUILDDIR}/SPECS/${LIBEVENT_SPEC_FILE} ] ; then cd ${CPWD} exit -1 fi + wget ${WGETOPTIONS} ${LIBEVENT_SPEC_GIT_URL}/${LIBEVENT_DISTRO} + ER=$? + if ! [ ${ER} -eq 0 ] ; then + cd ${CPWD} + exit -1 + fi cd .. if ! [ -f ${LIBEVENT_SPEC_DIR}/${LIBEVENT_SPEC_FILE} ] ; then diff --git a/rpm/turnserver.spec b/rpm/turnserver.spec index f6483ca7..79d05108 100644 --- a/rpm/turnserver.spec +++ b/rpm/turnserver.spec @@ -5,7 +5,7 @@ Summary: Coturn TURN Server Group: System Environment/Libraries License: BSD -URL: https://code.google.com/p/coturn/ +URL: https://github.com/coturn/coturn/ Source0: http://turnserver.open-sys.org/downloads/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc, make, redhat-rpm-config, sqlite-devel