Ticket #2 (closed enhancement: fixed)
Opened 7 years ago
Last modified 7 years ago
rpmbuild: Run rpmlint / another tool on generated RPMs
Reported by: rwmjones Assigned to: jnovy
Priority: major Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:
Description
How many times have you copied and pasted the path names printed out by rpmbuild when it successfully builds RPMs, into another program such as rpmlint?
$ rpmbuild -ba foobar.spec
[...]
Wrote: foobar-1.0-1.src.rpm
Wrote: foobar-1.0-1.i386.rpm
$ rpmlint foobar-1.0-1.src.rpm foobar-1.0-1.i386.rpm
What is needed is to have an rpmbuild option or some hook / macro that we can set so that rpmbuild automatically runs a user-defined program on the final RPMs.
Change History
10/26/08 13:28:26 changed by pmatilai
- status changed from new to assigned.
11/03/08 12:36:02 changed by jnovy
- owner changed from pmatilai to jnovy.
- status changed from assigned to new.
Taking this one, sounds reasonable.
11/03/08 12:36:18 changed by jnovy
- status changed from new to assigned.
11/10/08 15:56:57 changed by jnovy
- status changed from assigned to closed.
- resolution set to fixed.
The enhancement is now implemented and comitted. Please get the latest git rpm to give it a try :) Usage is well described in the commit messages.