On Fri, 2020-08-28 at 18:56 -0700, Michel Alexandre Salim wrote:
On Fri, 2020-08-28 at 18:36 -0700, Michel Alexandre Salim wrote:
> Hi,
>
> Björn added some useful Lua packaging macros in
>
https://bugzilla.redhat.com/show_bug.cgi?id=1447324
>
> One of them, %lua_requires, adds a dependency on either `lua(abi) =
> %{lua_version}` or, on EL6 and below, on lua >= current version and
> lua
> < next version.
>
...
> PS Björn -- we should consider moving the macros out of
lua-devel
> and
> into lua-rpm-macros, that lua-devel then depends on. That will fix
> the
> inability to get these macros out to EPEL6 and EPEL7 - on those,
> lua
> packages can just BR the macro package directly.
>
So having lua-rpm-macros with potentially a lua-srpm-macros would
help
here.
I've created a review request for the proposed new macro package here:
https://bugzilla.redhat.com/show_bug.cgi?id=1873676
If this is accepted:
- we can immediately branch and ship this for EL6 and EL7 so Lua
packages for those releases can use macros
- I'll get redhat-rpm-config to pull in lua-srpm-macros, the same way
it pulls in other *-srpm-macros packages
- I'll refactor lua in Fedora so lua-devel pulls in lua-rpm-macros
rather than shipping macros.lua, then enable shipping macros.lua in
lua-rpm-macros (right now it's excluded on Fedora to avoid file
conflicts)
I'll also look at creating an official SIG including having a mailing
list.
Thanks,
--
Michel Alexandre Salim
profile:
https://keyoxide.org/michel@michel-slm.name
chat via email:
https://delta.chat/
GPG key: 5DCE 2E7E 9C3B 1CFF D335 C1D7 8B22 9D2F 7CCC 04F2