Navigation Menu

Skip to content

Commit

Permalink
yum: support to customize distribution_version for building CentOS rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Aug 21, 2012
1 parent 0a9dded commit ca4f4b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/yum/build-in-chroot.sh
Expand Up @@ -154,6 +154,9 @@ for architecture in $ARCHITECTURES; do
;;
centos)
distribution_versions="5 6"
if [ ! -z "$DISTRIBUTION_VERSIONS" ]; then
distribution_versions=$DISTRIBUTION_VERSIONS
fi
;;
esac
for distribution_version in $distribution_versions; do
Expand Down

0 comments on commit ca4f4b4

Please sign in to comment.