[TriLUG] Question about RPM.

Tom Bryan tbryan at python.net
Sun Oct 21 12:31:45 EDT 2001


Does anyone know where to find good, *recent* RPM docs?

$ rpm --version
RPM version 4.0.2

All of the docs I found linked from www.rpm.org seem rather old.  In 
particular, I was hoping that I could just use the online version(s) of 
_Maximum_RPM_ and figure out the differences from there.  I've got the start 
of a .spec file, and I wanted to test it.  Following the online docs, I tried 

$ rpm -ba --test sample-1.0-1.spec
--test: unknown option

So I checked the man page.  It lists the --test option.  Then I tried 
rpm --help

No --test option for building (-b)!  Grrr.  

$ rpm -qf /usr/share/man/man8/rpm.8.gz
rpm-4.0.2-8
$ rpm -qf `which rpm`
rpm-4.0.2-8

If you're going to distribute a package, at least distribute corresponding 
documentation.  Hrmph.

Is there anything equivalent to "rpm -ba --test" in RPM 4?

---Tom



More information about the TriLUG mailing list