Commit e055d133 authored by Ronan's avatar Ronan

chore(build): do not set CMAKE_INSTALL_LIBDIR and never with _libdir!

parent 2dea113f
...@@ -60,7 +60,7 @@ Libraries and headers required to develop software with bzrtp ...@@ -60,7 +60,7 @@ Libraries and headers required to develop software with bzrtp
%setup -n %{name}-%{version}%{?build_number_ext} %setup -n %{name}-%{version}%{?build_number_ext}
%build %build
%{expand:%%%cmake_name} . -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@ %{expand:%%%cmake_name} . -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
...@@ -95,5 +95,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -95,5 +95,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/bzrtp/cmake/BZRTPTargets*.cmake %{_datadir}/bzrtp/cmake/BZRTPTargets*.cmake
%changelog %changelog
* Tue Nov 27 2018 ronan.abhamon <ronan.abhamon@belledonne-communications.com>
- Do not set CMAKE_INSTALL_LIBDIR and never with _libdir!
* Wed Jul 19 2017 jehan.monnier <jehan.monnier@linphone.org> * Wed Jul 19 2017 jehan.monnier <jehan.monnier@linphone.org>
- Initial RPM release. - Initial RPM release.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment