Packaging software compatible with only one Fedora release

Toshio Kuratomi a.badger at gmail.com
Tue Aug 28 04:07:26 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120827/781ebc1d/attachment.sig>


More information about the devel mailing list