Did some work on a branch over here:
https://github.com/rpm-software-management/rpm/compare/master...daurnimator:lua5.3-no-compat
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
rpm currently only works with lua 5.3 if lua is compiled/included in
compatibility mode.
The code has taken the odd approach of reimplementing deprecated functions in
terms of new functions, rather than updating the code to use the new functions
(they were deprecated for a reason!), and
The libraries in 'luaext' are ancient (from 2003!) vendored in versions of
[lrexlib](https://rrthomas.github.io/lrexlib/) and
[lposix](http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/#lposix) (which was
superceded by [luaposix](https://github.com/luaposix/luaposix))
It's time to upgrade. and
@ffesti, I wrote couple of testcases for "with" op and looks like it doesn't
work in some cases
```
208: unsatisfied WITH requireok
209: satisfied WITH require ok
210: unsatisfied nested WITH-AND require FAILED (rpmdeps.at:851)
211:
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/164
-- Commit Summary --
* tests: add tests for boolean dependencies
-- File Changes --
M tests/rpmdeps.at (483)
-- Patch Links --
Further examination yields that libsolv already supports a way of dealing with
this: REL_WITH which is represented in libsolvs dependency language as "+" and
we probably want to represent in RPM as "with".
The semantic of the with operator is both sides need to be matched by the same
package.