[narval] record built RPMs
authorDavid Douard <david.douard@logilab.fr>
Fri, 20 Mar 2015 14:42:41 +0100
changeset 1793 f99572f64d09
parent 1792 aab5607c5800
child 1794 d9ec494e52ec
[narval] record built RPMs Closes #5103231
_narval/checkers/apycot/lgp.py
--- a/_narval/checkers/apycot/lgp.py	Fri Mar 20 14:42:23 2015 +0100
+++ b/_narval/checkers/apycot/lgp.py	Fri Mar 20 14:42:41 2015 +0100
@@ -109,6 +109,7 @@
                 args += ['--suffix', '~rev%s' % repo.revision()]
             exit_status = cmd.main_run(args, LGP.rcfile)
             self.debian_changes = [f for f in cmd.packages if f.endswith('.changes')]
+            self.rpms = [f for f in cmd.packages if f.endswith('.rpm')]
             if exit_status:
                 self.writer.fatal('lgp %s exited with status %s', self.command, exit_status)
                 self.set_status(apycot.ERROR)