On Mon, Aug 27, 2012 at 06:12:55PM -0700, Adam Williamson wrote:
> On 2012-08-25 22:52, M.M. wrote:
> 
> >Or is it better to add an explicit "Requires" (for e.g. GNOME Shell
> >3.4.x) to the Spec files? In such case, is something like "Requires:
> >gnome-shell=3.4.*" allowed to specify all sub-releases belonging to
> >the 3.4 branch?
> 
> You can't use wildcards like this, but I wonder if you could do this:
> 
> Requires: gnome-shell >= 3.3
> Requires: gnome-shell < 3.5
> 
Yes.  For instance, from the bzrtools spec file (meant to work with
a specific version of bzr):

%global bzrver 2.3
%%global bzrnextver 2.4
[...]
Requires:   bzr >= %{bzrver}, bzr < %{bzrnextver}.0

-Toshio

Attachment: pgp0gxLHzXIfg.pgp
Description: PGP signature

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to