Bug 1244167
| Summary: | lua-bitop not available in Fedora 22 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonas Eriksson <fedora> |
| Component: | lua-bitop | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-17 15:06:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jonas Eriksson
2015-07-17 11:02:17 UTC
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. |