]> sourceware.org Git - libabigail.git/commit
Bug 22076 - Disable fedabipkgdiff for old koji clients
authorDodji Seketeli <dodji@redhat.com>
Wed, 22 Nov 2017 16:27:02 +0000 (17:27 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 22 Nov 2017 16:30:41 +0000 (17:30 +0100)
commit90d236a03343d75ea504d53c73270e50b9000e75
treea53fab2b8e341b799c262a7f7468ece3e7f5a964
parentb5b5b4dfb2c3a81135c23ffc4548aaa1637b42e7
Bug 22076 - Disable fedabipkgdiff for old koji clients

On some platforms, the koji client is so old that the koji object
doesn't have the .read_config method that we need.

Unfortunately, the koji client library module doesn't come with a
__version__ variable that carries its version number.  So we cannot
use the version of the library.  This patch thus tries to invoke the
koji.read_config method and see if it works.  If it does, the koji
client is deemed recent enough.  Otherwise the fedabipkgdiff feature
is disabled.

* configure.ac: Try to invoke the koji.read_config method.  If it
fails then disable the fedabipkgdiff feature.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
configure.ac
This page took 0.030625 seconds and 5 git commands to generate.