[Pkg-voip-commits] [janus] 01/02: Fix tighten to build-depend versioned on libsrtp0-dev.

Jonas Smedegaard dr at jones.dk
Thu Mar 16 14:02:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository janus.

commit a2438ce45fb0b8db26a18501d3bd062d1b2d0324
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Mar 16 14:48:22 2017 +0100

    Fix tighten to build-depend versioned on libsrtp0-dev.
---
 debian/control        | 2 +-
 debian/control-update | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 3d2b3a6..d6d3630 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Build-Depends:
  librabbitmq-dev,
  libsofia-sip-ua-dev,
  libsrtp2-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el],
- libsrtp0-dev [!amd64 !arm64 !armel !armhf !i386 !mips64el !mipsel !ppc64el],
+ libsrtp0-dev (>= 1.5) [!amd64 !arm64 !armel !armhf !i386 !mips64el !mipsel !ppc64el],
  libssl-dev,
  libwebsockets-dev (>> 1.3),
  libavutil-dev,
diff --git a/debian/control-update b/debian/control-update
index f34a78d..f3531f1 100755
--- a/debian/control-update
+++ b/debian/control-update
@@ -21,6 +21,6 @@ SRTP2=$(sh ./debian/pkgarchs.sh libsrtp2-dev)
 SRTP=$(echo "$SRTP2" | perl -pe 's/(\S+)/!$1/g')
 
 perl -pi \
-	-e "s/libsrtp2-dev\K[^,]*,/ [$SRTP2],/;" \
-	-e "s/libsrtp0-dev\K[^,]*,/ [$SRTP],/;" \
+	-e "s/libsrtp2-dev(\s*\([^\)]*\))?\K[^,]*,/ [$SRTP2],/;" \
+	-e "s/libsrtp0-dev(\s*\([^\)]*\))?\K[^,]*,/ [$SRTP],/;" \
 	debian/control

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list