Re: Heads up: lua-lpeg 1.0.1 in Rawhide; lua no longer in mock root by default?

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

 



Hi Neal,

On Sun, Jan 15, 2017 at 7:44 AM, Neal Gompa <ngompa13@xxxxxxxxx> wrote:
> On the packaging side, turns out Lua is not available by default in the mock
> root, and a lot of our Lua packages try to detect the version of Lua used
> during the build by using this expansion:
>
>
>   %{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
>
> This now fails because the lua binary is not available when mock rebuilds
> the SRPM. For anyone updating other Lua packages the following works:
>
>   %{!?luaver: %global luaver %(test -x /usr/bin/lua && lua -e
> "print(string.sub(_VERSION, 5))" || echo 5.3)}
>
> (I'll update my draft Lua packaging guidelines with this, if it looks good
> to others)

The lua package was recently refactored to split the libraries out
into lua-libs, so you need to add "BuildRequires: lua" or
"BuildRequires: /usr/bin/lua" to get it specifically.

Hmm, the package already required lua-devel which pulls in lua though. So I think it's just because lua used to be in the base image that's used to rebuild the SRPM, and it's no longer the case?​

​-- ​
Michel Alexandre Salim
profile:    https://keybase.io/michel_slm
GPG key ID: 4AF554ABA36A937A
 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux