5.2. Improved patch declaration
5.2.1. En option, numérotation automatique des patchs et des sources
Source: tags without a number are now automatically numbered based on the order in which they are listed.
The numbering is run internally by the
rpmbuild utility starting from the last manually numbered entry, or
0 if there is no such entry.
Par exemple :
Patch: one.patch Patch: another.patch Patch: yet-another.patch
It is now possible to list patch and source files without preceding each item with the respective
Source: tags by using the newly added
For example, the following entries:
Patch0: one.patch Patch1: another.patch Patch2: yet-another.patch
can now be replaced with:
%patchlist one.patch another.patch yet-another.patch
topatch accepte désormais les plages de correctifs
%autopatch macro now accepts the
-M parameters to limit the minimum and maximum patch number to apply, respectively:
-mparameter specifies the patch number (inclusive) to start at when applying patches.
-Mparameter specifies the patch number (inclusive) to stop at when applying patches.
This feature can be useful when an action needs to be performed in between certain patch sets.