[Bug 1282063] Review Request: xxhsum - Extremely fast hash algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1282063

gil cattaneo <puntogil@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |puntogil@xxxxxxxxx



--- Comment #1 from gil cattaneo <puntogil@xxxxxxxxx> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]