Re: how to find out the binary package names generated from a source rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 8 Dec 2003, Simon J Mudd wrote:

> If a source rpm builds many binary rpm packages how do I get out the
> list of binary packages produced?

I can only think of a hack, and a slow one at that:

  srcrpm=foo-1.0.0-2.src.rpm
  cd /path/to/RedHat/RPMS
  rpm -q --qf '%{SOURCERPM}:%{NAME}\n' -p *.rpm |\
    grep ^$srcrpm |\
    cut -d: -f1

--Paul Heinlein <heinlein@xxxxxxxxxxx>


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux