On Wed, 6 Oct 2004 14:10:30 -0400, Matthew Miller wrote: > > rpm -qpl package.src.rpm | grep \.spec > > What do you do if there's more than one spec file? Okay, okay. So, multiple additional spec files as %{SOURCEX} values? Then I would use something like this $ rpm -qp package.src.rpm --qf '[%{basenames}\n]' \ grep -v "$(rpm -qp package.src.rpm --qf '[%{source}\n]')" or process the output with some scripting language (if need be). -- Fedora Core release 2 (Tettnang) - Linux 2.6.8-1.521 loadavg: 1.69 1.20 1.08