From 8e19d9f13ca99716b942c5a2524b72efecf8068c Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@belledonne-communications.com>
Date: Sat, 31 Aug 2019 14:11:00 +0200
Subject: [PATCH] Fix RPM. Grammars file should be in main package, not in
 -devel.

---
 build/rpm/liblinphone.spec.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/rpm/liblinphone.spec.cmake b/build/rpm/liblinphone.spec.cmake
index 6ce9bb9f27..96bb648f1c 100755
--- a/build/rpm/liblinphone.spec.cmake
+++ b/build/rpm/liblinphone.spec.cmake
@@ -101,9 +101,11 @@ rm -rf $RPM_BUILD_ROOT
 #%{_mandir}/*
 %{_datadir}/linphone
 %{_datadir}/sounds/linphone
+%{_datadir}/belr/grammars/*
 /etc/sysconfig/lp-autoanswer
 /lib/systemd/system/lp-autoanswer.service
 
+
 %files devel
 %defattr(-,root,root)
 %{_includedir}/linphone
@@ -122,8 +124,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %{_datadir}/Linphone/cmake/*.cmake
 %{_datadir}/LinphoneCxx/cmake/*.cmake
-%{_datadir}/belr/grammars/cpim_grammar
-%{_datadir}/belr/grammars/identity_grammar
 
 
 %changelog
-- 
GitLab