Introduce a new global option --release to represent what --dist does. This is
a replacement, --dist will be disabled eventually after a while.
Original --dist is used to overwrite the name got from remote branch, and then
determine the build target and dist macro to build RPM. Where the name is
actually the release name, e.g. f24 and f25. Hence, --release could be much
clear and easier for users to know what behavior it will affect.
After this patch pass review and is merged, downstream client tools including fedpkg and rhpkg will be modified to extend --release help by adding more information so that help message can be suitable for specific package tool.
Introduce a new global option --release to represent what --dist does. This is
a replacement, --dist will be disabled eventually after a while.
Original --dist is used to overwrite the name got from remote branch, and then
determine the build target and dist macro to build RPM. Where the name is
actually the release name, e.g.
f24andf25. Hence,--releasecould be muchclear and easier for users to know what behavior it will affect.
Signed-off-by: Chenxiong Qi cqi@redhat.com
After this patch pass review and is merged, downstream client tools including fedpkg and rhpkg will be modified to extend
--releasehelp by adding more information so that help message can be suitable for specific package tool.