We need to support installing previously built v4 packages to hold our promise 
of full v4 compatibility, but for all new usages the Lua posix.fork() family of 
calls is now disabled as planned for v6.

Annoyingly the removed_in version needs to be the current pre-release 5.99.0, 
otherwise we couldn't test it until the final version. This means we 
can't sanely use the version in the error messages, would be more 
informative but a version like 5.99 is just confusing.

Add another pre-built luafork binary to allow testing the deprecation warning 
still gets shown.

Fixes: #3323
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3678

-- Commit Summary --

  * Disable new usages of Lua posix.fork() family of calls in >= 6.x

-- File Changes --

    M rpmio/lposix.cc (6)
    M rpmio/lposix.hh (3)
    M rpmio/rpmlua.cc (32)
    A tests/data/RPMS/luafork-1.0-1-deprecated.noarch.rpm (0)
    M tests/rpmmacro.at (26)
    M tests/rpmscript.at (18)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3678.patch
https://github.com/rpm-software-management/rpm/pull/3678.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3678
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to