rpm -q --queryformat "%{DISTRIBUTION}\n" glibc
Actually this is not what I had in mind. I dno't want to query the rpm database. I want to query the system during an rpm install, i.e. in the spec file: "If this is the correct version of Linux, install otherwise fail."
Jim C. -- ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@xxxxxxxxxxx AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@xxxxxxxxxxxxx | -----------------------------------------------------------------
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list