Description of problem: According to #1113712 which was closed almost a year ago, lua-bitop should be included in the latest Fedora release. However, it is not possible to install the package. It is in state "Approved" according to https://admin.fedoraproject.org/pkgdb/package/lua-bitop/ , which I assume means that it should be included. It's currently not possible to install the package using luarocks as a workaround, as the compilation fails. Version-Release number of selected component (if applicable): The version pointed out in #1113712 is lua-bitop-1.0.2-2.el7. How reproducible: $ sudo dnf install lua-bitop Last metadata expiration check performed 1:25:31 ago on Fri Jul 17 11:27:52 2015. No package lua-bitop available. Error: no package matched: lua-bitop $ Steps to Reproduce: See above Actual results: Package does not exist Expected results: Package should exist Additional info:
lua 5.2 includes bit operators in the "bit32" package. lua-bitop is only needed for lua 5.1 (EPEL7). You can do something like: local bit if _VERSION == "Lua 5.1" then bit = require "bit" else bit = require "bit32" end to handle the different versions.
Oh, my bad. Many thanks for the clarification.