From: Michael Tremer Date: Tue, 26 Jun 2012 17:32:11 +0000 (+0200) Subject: Sort patches by their version number (not in alphabetical order). X-Git-Tag: 0.9.23~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d1d622ac9859c90363076aa2f44edf1efe53597;p=pakfire.git Sort patches by their version number (not in alphabetical order). --- diff --git a/macros/constants.macro b/macros/constants.macro index 07459a39e..74484ea6f 100644 --- a/macros/constants.macro +++ b/macros/constants.macro @@ -11,7 +11,7 @@ DIR_SOURCE = %{BASEDIR} # By default, take all patches from the patches directory # in alphabetical order. -patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort) +patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version-sort) sources = %{thisapp}.tar.gz # Macro definitions