[pacman-dev] [PATCH] makepkg: detect incorrect unsage of >= in provides

Xavier shiningxc at gmail.com
Thu Jan 1 13:30:00 EST 2009


On Thu, Jan 1, 2009 at 7:16 PM, Allan McRae <allan at archlinux.org> wrote:
> Using >= in the provides array is stupid so make it cause an error.
> Fixes FS#12540.
>
> Also, use bash substitution rather than spawning new processes where
> possible in the error checking.  Move split package detection to a
> better position.
>

Only checking for >= looks strange to me, what about all the others :
< , >, <=, etc..
Maybe we could simply prevent < and > in the provision, using the same
bash substitution than for -.


More information about the pacman-dev mailing list