So far, EL6 is still needed to be considered for fedpkg, so
bodhi-client 1.x must be supported as well.
This patch does not check bodhi-client version to select proper version
of bodhi-client. Instead, if current system is EL6, version 1.x is
selected, otherwise bodhi command line will be constructed in the 2.x
format. This avoids fedpkg to be updated and released when each time a
new version of bodhi-client with increased major version is released.
So far, EL6 is still needed to be considered for fedpkg, so
bodhi-client 1.x must be supported as well.
This patch does not check bodhi-client version to select proper version
of bodhi-client. Instead, if current system is EL6, version 1.x is
selected, otherwise bodhi command line will be constructed in the 2.x
format. This avoids fedpkg to be updated and released when each time a
new version of bodhi-client with increased major version is released.
Fixes #171
Signed-off-by: Chenxiong Qi cqi@redhat.com