]> sjero.net Git - linphone/commitdiff
Update RPM spec (use git version when it is possible)
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 27 Mar 2012 13:56:12 +0000 (15:56 +0200)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 27 Mar 2012 13:56:12 +0000 (15:56 +0200)
linphone.spec.in
mediastreamer2
oRTP

index ff79974e66001f82aa539213fe3d668386be3d9d..44e3f5f00f20e0af9d83b1ea667c590c32c79c89 100644 (file)
@@ -11,7 +11,7 @@
 
 Name:           linphone
 Version:        @VERSION@
-Release:        %(git describe --tags | sed 's/.*-\([0-9]*\)-g.*/\1/' || echo '1')%{?dist}
+Release:        %(git describe --tags --abbrev=40 | sed -rn 's/^.*-([0-9]+)-g[a-z0-9]{40}$/\1/p' || echo '1')%{?dist}
 Summary:        Phone anywhere in the whole world by using the Internet
 
 Group:          Applications/Communications
index 513945c9781dbb9ae6905bb7fa80db2665f64d01..9d722a1456c8574b385fac0eadf4ad6a4067637b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 513945c9781dbb9ae6905bb7fa80db2665f64d01
+Subproject commit 9d722a1456c8574b385fac0eadf4ad6a4067637b
diff --git a/oRTP b/oRTP
index 3fb614e2ed15803f2c96c223cceb5545a60f2431..99cbcd905d357fd3a297f8d0e2aa4698c11c805a 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit 3fb614e2ed15803f2c96c223cceb5545a60f2431
+Subproject commit 99cbcd905d357fd3a297f8d0e2aa4698c11c805a