Created attachment 898334 [details] Patch adding -compat package for lua-expat built against compat-lua Hi, I would like to fix Prosody package in F20 and rawhide. Prosody works only with Lua 5.1 and it would be possible to use it with luajit. The problem is that lua-expat is built only against lua-5.2 and therefore not usable with lua-5.1 interpreters. Attached patch builds -compat subpackage so lua-5.1 interpreters can use it too.
The patch is missing version bump, sorry. Please bump the version if you are going to apply it :(.
*** Bug 1056465 has been marked as a duplicate of this bug. ***
Works on Rahide (http://koji.fedoraproject.org/koji/taskinfo?taskID=6898249), but breaks EL-6 (http://koji.fedoraproject.org/koji/taskinfo?taskID=6898249).
The packaging code is on http://luther.ceplovi.cz/git/lua-expat
This is intended only for rawhide (and maybe for F20 later), but for now I would do that only in rawhide (and the other 3 lua bugs too) and once I will have working prosody in rawhide, I would propose these changes also for F20.
Build in http://koji.fedoraproject.org/koji/taskinfo?taskID=6906650 , but I don't like it. Could we patch fixed so that it wouldn't break earlier versions of Fedora?
The patch works correctly on F20 for me. For older Fedora or for EPEL, the patch does not break anything, because the current package in F20 and rawhide Requires lua >= 5.2. There is no such lua version in EPEL6 or EPEL5 or F19 (they all have lua 5.1).
(In reply to Jan Kaluža from comment #7) > The patch works correctly on F20 for me. For older Fedora or for EPEL, the > patch does not break anything, because the current package in F20 and > rawhide Requires lua >= 5.2. There is no such lua version in EPEL6 or EPEL5 > or F19 (they all have lua 5.1). OK, you are right, I will bother (if ever) with EL-6 prosody some other day.
lua-expat-1.3.0-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lua-expat-1.3.0-4.fc20
lua-expat-1.3.0-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.