Re: Packaging software compatible with only one Fedora release

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

 



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: pgpSRzVffd5LH.pgp
Description: PGP signature

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux