https://bugzilla.redhat.com/show_bug.cgi?id=1282063
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |puntogil@libero.it
--- Comment #1 from gil cattaneo puntogil@libero.it --- HI could you build libxxhash? is a BuildRequires for https://bugzilla.redhat.com/show_bug.cgi?id=1270317
can you add this part in your spec file?
# Use ${LIB_INSTALL_DIR} instead of hardcoded lib in cmake file sed -i 's|DESTINATION lib|DESTINATION ${LIB_INSTALL_DIR}|' cmake_unofficial/CMakeLists.txt
%build
CFLAGS="${CFLAGS:-%optflags}" #CPPFLAGS="CPPFLAGS" export CFLAGS ( cd cmake_unofficial %{__cmake} -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} )
%install make install DESTDIR=%{buildroot} -C cmake_unofficial find %{buildroot} -name '*.a' -delete find %{buildroot} -name '*.la' -delete
Thanks in advance