From: Michael Tremer Date: Wed, 13 Apr 2011 20:11:57 +0000 (+0200) Subject: Dump package information when building from a source package. X-Git-Tag: 0.9.3~47^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2e57fc2aff74d454675ec82a5334226141a01fe;p=pakfire.git Dump package information when building from a source package. --- diff --git a/pakfire/builder.py b/pakfire/builder.py index 217d84fd3..0802dbeb9 100644 --- a/pakfire/builder.py +++ b/pakfire/builder.py @@ -42,6 +42,11 @@ class Builder(object): # Open the package. if pkg: self.pkg = packages.open(self.pakfire, None, pkg) + + # Log the package information. + if not isinstance(self.pkg, packages.Makefile): + dump = self.pkg.dump(long=True) + self.log.info(dump) else: # No package was given. self.pkg = None