[packages/linphone] handle cases when both system_ortp and system_mediastreamer are off
glen
glen at pld-linux.org
Mon Dec 17 16:23:13 CET 2012
commit 560e37c2b042a8ead2603bf1613c864db22e5494
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 17 17:23:11 2012 +0200
handle cases when both system_ortp and system_mediastreamer are off
linphone.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/linphone.spec b/linphone.spec
index c5ecc2f..af7cfd4 100644
--- a/linphone.spec
+++ b/linphone.spec
@@ -51,14 +51,15 @@ Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%if %{without system_ortp}
-%define _noautoreq libortp\.so.*
-%define _noautoprov libortp\.so.*
+%define _noautoreq_1 libortp\.so.*
%endif
%if %{without system_mediastreamer}
-%define _noautoreq libmediastreamer\.so.*
-%define _noautoprov libmediastreamer\.so.*
+%define _noautoreq_2 libmediastreamer\.so.*
%endif
+%define _noautoreq %{?_noautoreq_1} %{?_noautoreq_2}
+%define _noautoprov %{?_noautoreq}
+
%description
Linphone is a web phone: it let you phone to your friends anywhere in
the whole world, freely, simply by using the internet. The cost of the
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/linphone.git/commitdiff/560e37c2b042a8ead2603bf1613c864db22e5494
More information about the pld-cvs-commit
mailing list