Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=720857 --- Comment #32 from John D. Ramsdell <ramsdell@xxxxxxxxx> 2012-01-26 18:49:22 EST --- Wait a minute. I was checking out python rpms and noticed a trick they use. For both the datalog and lua-json packages, I suggest that the lua version be calculated as follows. Note that this spec works for both Lua 5.1 and 5.2. Do you like this idea? $ diff -ur a b diff -ur a/datalog.spec b/datalog.spec --- a/datalog.spec 2012-01-26 17:01:18.755156624 -0500 +++ b/datalog.spec 2012-01-26 18:31:14.956298243 -0500 @@ -1,8 +1,9 @@ -%define luapkgdir %{_datadir}/lua/5.1 +%{!?luaver: %define luaver %(lua -e "print(string.sub(_VERSION, 5))")} +%define luapkgdir %{_datadir}/lua/%{luaver} Name: datalog Version: 1.8 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://downloads.sourceforge.net/datalog/%{name}-%{version}.tar.gz @@ -13,7 +14,7 @@ License: LGPLv2+ Group: Applications/Databases -BuildRequires: texinfo, lua-devel == 5.1.4 +BuildRequires: texinfo, lua-devel < 5.3 %description This package contains a lightweight deductive database system. $ -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review