Commit d2e052be authored by Ronan's avatar Ronan

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

parent 67920534
...@@ -54,7 +54,7 @@ develop programs using the bcmatroska2 library. ...@@ -54,7 +54,7 @@ develop programs using the bcmatroska2 library.
%setup -n %{name}-%{version} %setup -n %{name}-%{version}
%build %build
%{expand:%%%cmake_name} . -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} -DCMAKE_PREFIX_PATH:PATH=%{_prefix} %{expand:%%%cmake_name} . -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ -DCMAKE_PREFIX_PATH:PATH=%{_prefix}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
...@@ -99,5 +99,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -99,5 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Tue Nov 27 2018 ronan.abhamon <ronan.abhamon@belledonne-communications.com>
- Do not set CMAKE_INSTALL_LIBDIR and never with _libdir!
* Tue Mar 13 2018 ronan.abhamon <ronan.abhamon@belledonne-communications.com> * Tue Mar 13 2018 ronan.abhamon <ronan.abhamon@belledonne-communications.com>
- 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