title: rpm requires range
body: <p>I currently have two questions:</p>
  
  <p>1) Is it possible to specify a range of a package in a rpm spec file? something like</p>
  
  <p>package >= 1.0.0 and package &lt; 1.0.50
  meaning that it will pick up the latest package version closer to 1.0.50</p>
  
  <p>2) Does somebody knows if yum will update to a package to a higher version even if the version specified in the spec file is lower? or is there something to avoid yum to upgrading to a higher version? This is my example to be more clear:</p>
  
  <p>There are two packages in my repo:
  package-1.0.5-1
  package-2.0.10-1</p>
  
  <p>and if my spec file for package! has the following requires
  Requires: package > 1.0.5</p>
  
  <p>When I do yum to install of packageA this means that it will install the higher version of 1.0.5 version or it will assume 2.0.10 is higher and will install that ? What I want to achieve is some sort of telling my package that just install as high as 1.0.5 release is and don't skip to the 2.x version.</p>
  
  <p>I hope I made my self clear. Thanks for any tip or response you can give me</p>