Bug 1100238 - [PATCH] Build lua-expat also against compat-lua
Summary: [PATCH] Build lua-expat also against compat-lua
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-expat
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1056465 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-22 10:53 UTC by Jan Kaluža
Modified: 2018-04-11 14:37 UTC (History)
4 users (show)

Fixed In Version: lua-expat-1.3.0-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-29 15:43:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch adding -compat package for lua-expat built against compat-lua (2.54 KB, patch)
2014-05-22 10:53 UTC, Jan Kaluža
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.