How to do QA

Charles R. Anderson cra at WPI.EDU
Mon Feb 9 07:51:02 UTC 2004


On Mon, Feb 09, 2004 at 08:25:21AM +0100, Michael Schwendt wrote:
> Be sure to use -qplv, so you get to see file permissions, ownerships and
> sizes.

Except dates and times will always change, so the case without -v is
nice to see too, so you only see missing/new files/paths in the diff 
output.

This might be a nice alternative, for comparing everything but the
timestamps and file sizes of the binary rpms:

rpm -qplv file.rpm | awk '{print $1,$2,$3,$4,$8,$9}'

>  1. does not apply (short: DNA)
>  2. DNA / a diff against previous src.rpm content should be done
>  3. DNA
>  4. DNA
>  5. yes, necessary for the build system
>  6. DNA
>  7. DNA / not needed to "improve" old packages
>  8. DNA
>  9. DNA
> 10. DNA / completely unimportant for old package updates
> 11. for upgrades this would make rpmlint happy, nothing else
> 12. DNA for ordinary patch-work
> 13. DNA -"-
> 14. DNA / I wouldn't touch it in updates to old packages
>           because SMP make flags can break the build

Agreed, with the addition of 15. ldd comparisons.  A tool could be
written to perform the file and ldd diffs.  The output could be
similar to rpm -V output (size, MD5 sum, permissions, type, owner,
group, timestamp) plus ldd/Requires diffs.





More information about the fedora-legacy-list mailing list