I would like to be able to install one package that tracks the version of the system. If this package is installed I would like to be able to guarantee that the system is at the appropriate update level. For example if my_rpm-1.0 is installed the system is at rhel 6.2. if my_rpm-2.0 is installed the system is at rhel 6.3. I think this requires me to list all the rhel packages on the Requires: line. This surpasses the 8k per line limit that spec files have.
- Is there a way around this limit?
- Is there an easy way to see what the top level packages are so I wouldn't have to include all of them?
- Am I just going about this the wrong way?
Use multiple Requires: lines instead of appending to a single line.