Commit 447466f2 authored by Ronan's avatar Ronan

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

parent 04606157
......@@ -21,7 +21,7 @@ License: BSD
URL: https://github.com/redis/hiredis
Source0: %{name}-%{version}%{?build_number_ext}.tar.gz
%description
%description
Hiredis is a minimalistic C client library for the Redis database.
%package devel
......@@ -48,7 +48,7 @@ developing applications that use %{name}.
%setup -q -n %{name}-%{version}%{?build_number_ext}
%build
%{expand:%%%cmake_name} . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@
%{expand:%%%cmake_name} . -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@
make %{?_smp_mflags}
%install
......@@ -76,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue Nov 27 2018 ronan.abhamon <ronan.abhamon@belledonne-communications.com>
- Do not set CMAKE_INSTALL_LIBDIR and never with _libdir!
* Wed Sep 16 2015 Sylvain Berfini <sylvain.berfini@belledonne-communications.com> - 0.13.3-1
- Version bump from 0.11.0 to 0.13.3
......
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