From fca153eece6b54d92de52893451fdaff0771928d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 12 Mar 2018 12:02:26 +0100 Subject: [PATCH] Improve RPM packaging + Put executables in bindir in RPM file when tools are enabled. --- build/rpm/liblinphone.spec.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/rpm/liblinphone.spec.cmake b/build/rpm/liblinphone.spec.cmake index b0f030334..f2512146c 100755 --- a/build/rpm/liblinphone.spec.cmake +++ b/build/rpm/liblinphone.spec.cmake @@ -31,6 +31,9 @@ Requires: %{pkg_prefix}ortp Requires: %{pkg_prefix}mediastreamer Requires: %{pkg_prefix}belle-sip Requires: %{pkg_prefix}belr +%if @ENABLE_VCARD@ +Requires: %{pkg_prefix}belcard +%endif %if @ENABLE_SOCI_STORAGE@ Requires: %{pkg_prefix}soci %endif @@ -83,7 +86,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README.md TODO -%if @ENABLE_DAEMON@ || @ENABLE_CONSOLE_UI@ +%if @ENABLE_DAEMON@ || @ENABLE_CONSOLE_UI@ || @ENABLE_TOOLS@ %{_bindir}/* %endif %{_libdir}/*.so.*