From 47e959d1501063b712f4475a6e93d5ba776a1a72 Mon Sep 17 00:00:00 2001
From: Erwan Croze <erwan.croze@belledonne-communications.com>
Date: Mon, 11 Dec 2017 11:10:40 +0100
Subject: [PATCH] Refix last commit

---
 build/rpm/liblinphone.spec.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/rpm/liblinphone.spec.cmake b/build/rpm/liblinphone.spec.cmake
index f2841b7d70..b4890ef483 100755
--- a/build/rpm/liblinphone.spec.cmake
+++ b/build/rpm/liblinphone.spec.cmake
@@ -39,7 +39,7 @@ Requires:	%{pkg_prefix}ortp
 Requires:	%{pkg_prefix}mediastreamer
 Requires:	%{pkg_prefix}belle-sip
 Requires:	%{pkg_prefix}belr
-%if 0%{?_with_soci}
+%if %{?_with_soci:1}%{!?_with_soci:0}
 Requires:	%{pkg_prefix}soci
 %endif
 
-- 
GitLab