commit belr for openSUSE:Factory

2020-08-03 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2020-08-03 14:15:13

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new.3592 (New)


Package is "belr"

Mon Aug  3 14:15:13 2020 rev:8 rq:823436 version:4.4.0

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2020-06-10 
00:40:44.121764762 +0200
+++ /work/SRC/openSUSE:Factory/.belr.new.3592/belr.changes  2020-08-03 
14:15:53.340529351 +0200
@@ -1,0 +2,10 @@
+Wed Jul 29 14:46:36 UTC 2020 - Alexei Sorokin 
+
+- Update to version 4.4.0:
+  * Fix a bug with the use of createRootObject().
+It wasn't passed the size of what was really parsed, which was
+confusing for the DebugParser and the output of belr-parse tool.
+  * Add Iphlpapi dependency for using liblinphone
+GetAdaptersAddresses.
+
+---

Old:

  belr-4.3.1.tar.bz2

New:

  belr-4.4.0.tar.bz2



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.M5ndBr/_old  2020-08-03 14:15:55.908531926 +0200
+++ /var/tmp/diff_new_pack.M5ndBr/_new  2020-08-03 14:15:55.908531926 +0200
@@ -19,7 +19,7 @@
 %define soname  libbelr
 %define sover   1
 Name:   belr
-Version:4.3.1
+Version:4.4.0
 Release:0
 Summary:Language recognition library
 License:GPL-3.0-or-later
@@ -31,7 +31,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(bctoolbox) >= 4.3.0
+BuildRequires:  pkgconfig(bctoolbox) >= 4.4.0
 
 %description
 Belr parses input formatted according to a language defined by an

++ belr-4.3.1.tar.bz2 -> belr-4.4.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/CMakeLists.txt 
new/belr-4.4.0/CMakeLists.txt
--- old/belr-4.3.1/CMakeLists.txt   2019-12-11 11:36:05.0 +0100
+++ new/belr-4.4.0/CMakeLists.txt   2020-04-02 22:21:20.0 +0200
@@ -21,7 +21,7 @@
 
 
 cmake_minimum_required(VERSION 3.1)
-project(BELR VERSION 4.3.0 LANGUAGES C CXX)
+project(BELR VERSION 4.4.0 LANGUAGES C CXX)
 
 set(BELR_SO_VERSION "1")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/include/belr/parser.h 
new/belr-4.4.0/include/belr/parser.h
--- old/belr-4.3.1/include/belr/parser.h2019-12-11 11:36:05.0 
+0100
+++ new/belr-4.4.0/include/belr/parser.h2020-04-02 22:21:20.0 
+0200
@@ -210,7 +210,7 @@
 class ParserContext : public ParserContextBase{
 public:
ParserContext(Parser<_parserElementT> &parser);
-   _parserElementT createRootObject(const std::string &input);
+   _parserElementT createRootObject(const std::string &input, size_t 
count);
 
 protected:
void beginParse(ParserLocalContext &ctx, const 
std::shared_ptr &rec) override;
@@ -498,8 +498,8 @@
 }
 
 template 
-_parserElementT ParserContext<_parserElementT>::createRootObject(const 
std::string &input){
-return mRoot ? mRoot->realize(input,0,input.size()) : nullptr;
+_parserElementT ParserContext<_parserElementT>::createRootObject(const 
std::string &input, size_t count){
+return mRoot ? mRoot->realize(input, 0, count) : nullptr;
 }
 
 template 
@@ -600,7 +600,7 @@
//auto t_end = std::chrono::high_resolution_clock::now();
//cout<<"Recognition done in "<(t_end-t_start).count()<<" milliseconds"createRootObject(input, parsed);
return ret;
 }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-4.3.1/src/CMakeLists.txt 
new/belr-4.4.0/src/CMakeLists.txt
--- old/belr-4.3.1/src/CMakeLists.txt   2019-12-11 11:36:05.0 +0100
+++ new/belr-4.4.0/src/CMakeLists.txt   2020-04-02 22:21:20.0 +0200
@@ -40,7 +40,7 @@
 )
 
 if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
-   list(APPEND LIBS ws2_32)
+   list(APPEND LIBS ws2_32 Iphlpapi)
 endif()
 
 if(ENABLE_STATIC)




commit belr for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2020-06-10 00:40:14

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new.3606 (New)


Package is "belr"

Wed Jun 10 00:40:14 2020 rev:7 rq:796706 version:4.3.1

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2019-11-18 
20:11:09.685568432 +0100
+++ /work/SRC/openSUSE:Factory/.belr.new.3606/belr.changes  2020-06-10 
00:40:44.121764762 +0200
@@ -1,0 +2,14 @@
+Wed Apr 22 16:24:17 UTC 2020 - Alexei Sorokin 
+
+- Update to version 4.3.1 (changes since 0.1.3):
+  * belr-compiler tool, to generate binary grammar files, that can
+be loaded hundred times faster than txt grammars.
+  * Optimise size of user application object code, due to template
+instanciation of belr classes.
+  * Install cmake config files into the correct path.
+  * Use BcTooblox macros for source archive generation.
+  * CMakeLists.txt: Introduce the ENABLE_PACKAGE_SOURCE option.
+  * Licence moves to GNU GPLv3+.
+  * Add better documentation in README.
+
+---

Old:

  belr-0.1.3.tar.gz

New:

  belr-4.3.1.tar.bz2



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.MNNusJ/_old  2020-06-10 00:40:45.345767971 +0200
+++ /var/tmp/diff_new_pack.MNNusJ/_new  2020-06-10 00:40:45.345767971 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package belr
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,19 +19,19 @@
 %define soname  libbelr
 %define sover   1
 Name:   belr
-Version:0.1.3
+Version:4.3.1
 Release:0
 Summary:Language recognition library
 License:GPL-3.0-or-later
 URL:https://linphone.org/
-Source: 
https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz
+Source: 
https://gitlab.linphone.org/BC/public/belr/-/archive/%{version}/%{name}-%{version}.tar.bz2
 Source1:baselibs.conf
 # PATCH-FIX-OPENSUSE belr-fix-pkgconfig.patch sor.ale...@meowr.ru -- Install 
belr.pc.
 Patch0: belr-fix-pkgconfig.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(bctoolbox) >= 0.6.0
+BuildRequires:  pkgconfig(bctoolbox) >= 4.3.0
 
 %description
 Belr parses input formatted according to a language defined by an
@@ -56,8 +56,7 @@
 to develop applications using the belr library.
 
 %prep
-%setup -q -n %{name}-%{version}-0
-%autopatch -p1
+%autosetup -p1
 
 %build
 %cmake \
@@ -69,19 +68,22 @@
 %cmake_install
 
 %post -n %{soname}%{sover} -p /sbin/ldconfig
+
 %postun -n %{soname}%{sover} -p /sbin/ldconfig
 
 %files -n %{soname}%{sover}
-%license COPYING
+%license LICENSE.txt
 %{_libdir}/%{soname}.so.%{sover}*
 
 %files devel
-%license COPYING
-%doc NEWS README.md
-%{_bindir}/belr-parse
+%license LICENSE.txt
+%doc CHANGELOG.md README.md
+%{_bindir}/%{name}*
 %{_includedir}/%{name}/
 %{_libdir}/%{soname}.so
-%{_datadir}/Belr/
+%{_libdir}/cmake/%{name}/
+%{_datadir}/%{name}/
+%{_datadir}/%{name}-tester/
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog

++ belr-0.1.3.tar.gz -> belr-4.3.1.tar.bz2 ++
 10085 lines of diff (skipped)




commit belr for openSUSE:Factory

2019-11-18 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2019-11-18 20:11:08

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new.26869 (New)


Package is "belr"

Mon Nov 18 20:11:08 2019 rev:6 rq:749210 version:0.1.3

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2019-11-06 
13:54:36.340058851 +0100
+++ /work/SRC/openSUSE:Factory/.belr.new.26869/belr.changes 2019-11-18 
20:11:09.685568432 +0100
@@ -1,0 +2,6 @@
+Mon Nov 18 23:15:31 UTC 2019 - Simon Lees 
+
+- %make_jobs is depricated replaced by %cmake_build
+- Use %autopatch
+
+---



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.i364Ex/_old  2019-11-18 20:11:10.245568146 +0100
+++ /var/tmp/diff_new_pack.i364Ex/_new  2019-11-18 20:11:10.249568145 +0100
@@ -57,13 +57,13 @@
 
 %prep
 %setup -q -n %{name}-%{version}-0
-%patch0 -p1
+%autopatch -p1
 
 %build
 %cmake \
   -DENABLE_STRICT=OFF \
   -DENABLE_STATIC=OFF
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install




commit belr for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2019-11-06 13:54:27

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new.2990 (New)


Package is "belr"

Wed Nov  6 13:54:27 2019 rev:5 rq:739946 version:0.1.3

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2019-03-06 
15:47:40.964446117 +0100
+++ /work/SRC/openSUSE:Factory/.belr.new.2990/belr.changes  2019-11-06 
13:54:36.340058851 +0100
@@ -1,0 +2,5 @@
+Thu Oct 17 14:32:48 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.XY3W9a/_old  2019-11-06 13:54:36.996059562 +0100
+++ /var/tmp/diff_new_pack.XY3W9a/_new  2019-11-06 13:54:37.59567 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Language recognition library
 License:GPL-3.0-or-later
-Group:  Development/Libraries/C and C++
 URL:https://linphone.org/
 Source: 
https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
@@ -40,7 +39,6 @@
 
 %package -n %{soname}%{sover}
 Summary:Language recognition library
-Group:  System/Libraries
 
 %description -n %{soname}%{sover}
 Belr parses input formatted according to a language defined by an
@@ -48,7 +46,6 @@
 
 %package devel
 Summary:Headers and libraries for the belr library
-Group:  Development/Libraries/C and C++
 Requires:   %{soname}%{sover} = %{version}
 
 %description devel




commit belr for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2019-03-06 15:47:39

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new.28833 (New)


Package is "belr"

Wed Mar  6 15:47:39 2019 rev:4 rq:681694 version:0.1.3

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2017-08-30 
16:21:31.467658078 +0200
+++ /work/SRC/openSUSE:Factory/.belr.new.28833/belr.changes 2019-03-06 
15:47:40.964446117 +0100
@@ -1,0 +2,5 @@
+Tue Mar  5 10:59:55 UTC 2019 - Martin Pluskal 
+
+- Modernise spec file with spec-cleaner
+
+---



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.HCPOVa/_old  2019-03-06 15:47:42.740445646 +0100
+++ /var/tmp/diff_new_pack.HCPOVa/_new  2019-03-06 15:47:42.768445638 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package belr
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,9 +22,9 @@
 Version:0.1.3
 Release:0
 Summary:Language recognition library
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Development/Libraries/C and C++
-Url:https://linphone.org/
+URL:https://linphone.org/
 Source: 
https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 # PATCH-FIX-OPENSUSE belr-fix-pkgconfig.patch sor.ale...@meowr.ru -- Install 
belr.pc.
@@ -66,21 +66,21 @@
 %cmake \
   -DENABLE_STRICT=OFF \
   -DENABLE_STATIC=OFF
-make %{?_smp_mflags} V=1
+%make_jobs
 
 %install
 %cmake_install
 
 %post -n %{soname}%{sover} -p /sbin/ldconfig
-
 %postun -n %{soname}%{sover} -p /sbin/ldconfig
 
 %files -n %{soname}%{sover}
-%doc COPYING
+%license COPYING
 %{_libdir}/%{soname}.so.%{sover}*
 
 %files devel
-%doc COPYING NEWS README.md
+%license COPYING
+%doc NEWS README.md
 %{_bindir}/belr-parse
 %{_includedir}/%{name}/
 %{_libdir}/%{soname}.so




commit belr for openSUSE:Factory

2017-08-30 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2017-08-30 16:21:30

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new (New)


Package is "belr"

Wed Aug 30 16:21:30 2017 rev:3 rq:511975 version:0.1.3

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2017-07-03 
09:36:51.515631975 +0200
+++ /work/SRC/openSUSE:Factory/.belr.new/belr.changes   2017-08-30 
16:21:31.467658078 +0200
@@ -1,0 +2,7 @@
+Fri Jul 21 12:20:04 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 0.1.3:
+  * Bug fixes.
+- Remove belr-0.1.2-fix-includedir.patch: fixed upstream.
+
+---

Old:

  belr-0.1.2-fix-includedir.patch
  belr-0.1.2.tar.gz

New:

  belr-0.1.3.tar.gz



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.XUJuVq/_old  2017-08-30 16:21:32.419524186 +0200
+++ /var/tmp/diff_new_pack.XUJuVq/_new  2017-08-30 16:21:32.423523623 +0200
@@ -19,7 +19,7 @@
 %define soname  libbelr
 %define sover   1
 Name:   belr
-Version:0.1.2
+Version:0.1.3
 Release:0
 Summary:Language recognition library
 License:GPL-3.0+
@@ -29,12 +29,10 @@
 Source1:baselibs.conf
 # PATCH-FIX-OPENSUSE belr-fix-pkgconfig.patch sor.ale...@meowr.ru -- Install 
belr.pc.
 Patch0: belr-fix-pkgconfig.patch
-# PATCH-FIX-UPSTREAM belr-0.1.2-fix-includedir.patch -- Fix includedir (from 
commit a515fda).
-Patch1: belr-0.1.2-fix-includedir.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(bctoolbox)
+BuildRequires:  pkgconfig(bctoolbox) >= 0.6.0
 
 %description
 Belr parses input formatted according to a language defined by an
@@ -61,9 +59,8 @@
 to develop applications using the belr library.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-0
 %patch0 -p1
-%patch1 -p1
 
 %build
 %cmake \
@@ -79,12 +76,10 @@
 %postun -n %{soname}%{sover} -p /sbin/ldconfig
 
 %files -n %{soname}%{sover}
-%defattr(-,root,root)
 %doc COPYING
 %{_libdir}/%{soname}.so.%{sover}*
 
 %files devel
-%defattr(-,root,root)
 %doc COPYING NEWS README.md
 %{_bindir}/belr-parse
 %{_includedir}/%{name}/

++ belr-0.1.2.tar.gz -> belr-0.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belr-0.1.2/CMakeLists.txt 
new/belr-0.1.3-0/CMakeLists.txt
--- old/belr-0.1.2/CMakeLists.txt   2017-03-02 14:41:18.0 +0100
+++ new/belr-0.1.3-0/CMakeLists.txt 2017-07-20 15:55:35.0 +0200
@@ -21,7 +21,7 @@
 
 
 cmake_minimum_required(VERSION 3.0)
-project(BELR VERSION 0.1.2 LANGUAGES C CXX)
+project(BELR VERSION 0.1.3 LANGUAGES C CXX)
 
 set(BELR_SO_VERSION "1")
 
@@ -31,22 +31,6 @@
 option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
 
 
-macro(apply_compile_flags SOURCE_FILES)
-   if(${SOURCE_FILES})
-   set(options "")
-   foreach(a ${ARGV})
-   if(STRICT_OPTIONS_${a})
-   string(REPLACE ";" " " options_${a} 
"${STRICT_OPTIONS_${a}}")
-   set(options "${options} ${options_${a}}")
-   endif()
-   endforeach()
-   if(options)
-   set_source_files_properties(${${SOURCE_FILES}} 
PROPERTIES COMPILE_FLAGS "${options}")
-   endif()
-   endif()
-endmacro()
-
-
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 
 if(NOT CPACK_GENERATOR AND NOT CMAKE_INSTALL_RPATH AND CMAKE_INSTALL_PREFIX)
@@ -76,7 +60,6 @@
 include_directories(
include/
src/
-   ${BCTOOLBOX_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
 )
 if(MSVC)
@@ -113,6 +96,16 @@
list(REMOVE_DUPLICATES STRICT_OPTIONS_C)
 endif()
 
+set(BELR_CPPFLAGS ${BCTOOLBOX_CPPFLAGS})
+if(ENABLE_STATIC)
+   list(APPEND BELR_CPPFLAGS "-DBELR_STATIC")
+endif()
+if(BELR_CPPFLAGS)
+   list(REMOVE_DUPLICATES BELR_CPPFLAGS)
+   add_definitions(${BELR_CPPFLAGS})
+endif()
+add_definitions("-DBELR_EXPORTS")
+
 if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
set(EXPORT_TARGETS_NAME "LinphoneBuilder")
 else()
@@ -143,15 +136,4 @@
DESTINATION ${ConfigPackageLocation}
 )
 
-
-# CPack settings
-set(CPACK_PACKAGE_NAME "belr")
-set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
-set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_PACKAGE_FILE_NAME 
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
-set(CPACK_SOURCE_IGNORE_FILES
-"^${CMAKE_BINARY_DIR}"
-"/..+"
-)
-
-include(CPac

commit belr for openSUSE:Factory

2017-07-03 Thread root
Hello community,

here is the log from the commit of package belr for openSUSE:Factory checked in 
at 2017-07-03 09:36:38

Comparing /work/SRC/openSUSE:Factory/belr (Old)
 and  /work/SRC/openSUSE:Factory/.belr.new (New)


Package is "belr"

Mon Jul  3 09:36:38 2017 rev:2 rq:507669 version:0.1.2

Changes:

--- /work/SRC/openSUSE:Factory/belr/belr.changes2017-06-04 
02:02:15.751591014 +0200
+++ /work/SRC/openSUSE:Factory/.belr.new/belr.changes   2017-07-03 
09:36:51.515631975 +0200
@@ -1,0 +2,6 @@
+Sun Jul  2 14:21:11 UTC 2017 - sor.ale...@meowr.ru
+
+- Add belr-0.1.2-fix-includedir.patch: Fix includedir
+  (from commit a515fda).
+
+---

New:

  belr-0.1.2-fix-includedir.patch



Other differences:
--
++ belr.spec ++
--- /var/tmp/diff_new_pack.wXIDKa/_old  2017-07-03 09:36:52.155541718 +0200
+++ /var/tmp/diff_new_pack.wXIDKa/_new  2017-07-03 09:36:52.159541154 +0200
@@ -29,6 +29,8 @@
 Source1:baselibs.conf
 # PATCH-FIX-OPENSUSE belr-fix-pkgconfig.patch sor.ale...@meowr.ru -- Install 
belr.pc.
 Patch0: belr-fix-pkgconfig.patch
+# PATCH-FIX-UPSTREAM belr-0.1.2-fix-includedir.patch -- Fix includedir (from 
commit a515fda).
+Patch1: belr-0.1.2-fix-includedir.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -61,6 +63,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %cmake \

++ belr-0.1.2-fix-includedir.patch ++
--- a/cmake/BelrConfig.cmake.in
+++ b/cmake/BelrConfig.cmake.in
@@ -35,7 +35,7 @@ get_filename_component(BELR_CMAKE_DIR "$
 if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
set(BELR_INCLUDE_DIRS "${EP_belr_INCLUDE_DIR}")
 else()
-   set(BELR_INCLUDE_DIRS "${BELR_CMAKE_DIR}/../../../include")
+   set(BELR_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
 endif()
 
 if(@ENABLE_SHARED@)