Bug 1100238

Summary: [PATCH] Build lua-expat also against compat-lua
Product: [Fedora] Fedora Reporter: Jan Kaluža <jkaluza>
Component: lua-expatAssignee: Matěj Cepl <mcepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jkaluza, mcepl, tim, trever
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lua-expat-1.3.0-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-29 15:43:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch adding -compat package for lua-expat built against compat-lua none

Description Jan Kaluža 2014-05-22 10:53:10 UTC
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.

Comment 1 Jan Kaluža 2014-05-22 10:57:07 UTC
The patch is missing version bump, sorry. Please bump the version if you are going to apply it :(.

Comment 2 Jan Kaluža 2014-05-27 07:20:01 UTC
*** Bug 1056465 has been marked as a duplicate of this bug. ***

Comment 4 Matěj Cepl 2014-05-27 22:08:38 UTC
The packaging code is on http://luther.ceplovi.cz/git/lua-expat

Comment 5 Jan Kaluža 2014-05-28 06:36:16 UTC
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.

Comment 6 Matěj Cepl 2014-05-29 11:54:14 UTC
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?

Comment 7 Jan Kaluža 2014-05-29 12:11:54 UTC
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).

Comment 8 Matěj Cepl 2014-05-29 15:43:11 UTC
(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.

Comment 9 Fedora Update System 2015-04-18 12:06:38 UTC
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

Comment 10 Fedora Update System 2015-04-30 11:47:28 UTC
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.