Re: [Fedora-packaging] disttag

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

 



On Thu, Feb 24, 2005 at 05:28:38PM -0600, Tom 'spot' Callaway wrote:
> rpm -q --qf "%{version}\n" `rpm -qf /etc/redhat-release`

Instead of hard-coding the filename, how about using the Provides: 
that is in the package?

rpm -q --whatprovides --qf "%{version}\n" redhat-release


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux