Hi! 1st I mostly answer to myself, next ask a question. On 02.07.2012 11:37:03, Ildar Mulyukov wrote: > On 11.04.2011 23:30:42, Hisham wrote: >> Indeed, the hierarchy lib/lua/5.1 is hardcoded in luarocks/path.lua >> for now... we need to fix this. I added this to the bugtracker. > > Now, Hisham, I can't find the bug you mentioned. Could you please > point me out?
Found it: https://github.com/keplerproject/luarocks/issues/27 > Next, inspecting the changes in this area, I see the code's moved and > now it is in cfg.lua: > 142 lib_modules_path = "/lib/lua/"..lua_version, Well, main part is in site_config.lua . === Q: Why the site_config.lua is put into /usr/share? This supposed to be ARCH-independent dir. It can be safely moved to: lib_modules_path.."/luarocks". Like mine: > mkdir -p %buildroot%lua_modulesdir/%name > #Arch-dependant parts > mv %buildroot%lua_modulesdir_noarch/%name/\ > site_config.lua \ > %buildroot%lua_modulesdir/%name -- Ildar Mulyukov, free SW designer/programmer ================================================ email: il...@users.sourceforge.net home: http://johan-notes.blogspot.com/ ALT Linux Sisyphus ================================================ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers