On 18.09.2012 17:42:01, Alexander V. Nikolaev wrote: > On Tue, Sep 18, 2012 at 04:34:20PM +0600, Ildar Mulyukov wrote: > > %files > > %lua_modulesdir/* > > %lua_modulesdir_noarch/* > > %luarocks_dbdir/%oname > > %doc LICENSE NEW README docs_from_rockstree/* > > %exclude %luarocks_dbdir/manifest
> And we don't exclude manifest, we mangle manifest's name, and later > reconstruct it in postinstall hook. So _patched_ luarocks can see > rocks > as preinstalled. My approach is different: * any RPM with a rock excludes manifest because obviously it is the shared manifest of all rocks installed in this tree * installation/update/removal of an RPM which contains a rock triggers the RPM filetrigger (the unique ALTLinux technology) which regenerates the manifest. No postinstall scripts required. Hence it 1. "just works" for rocks RPMs installed into one single rock tree and 2. doesn't even require luarocks patching. TODO left: converting rockspec deps into the RPM deps. It should be simple, but I just can't find a time to get to it. Regards, -- Ildar Mulyukov, free SW designer/programmer ================================================ email: [email protected] blog: 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 [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
