Bug#528698: pbuilder: Name dummy package according to source package

Loïc Minier lool at dooz.org
Thu May 14 20:59:35 UTC 2009


On Thu, May 14, 2009, Mehdi Dogguy wrote:
> On  0, Mehdi Dogguy <dogguy at pps.jussieu.fr> wrote:
> > +    local PKG_VERSION="$(head -n1 debian/changelog | sed -n's/.\+(\([^ ]\+\)).\+/\1/p')" || "0.invalid.0"
> Oups… I forgot this stupid line.
> Something like “local PKG_VERSION="$(head -n1 debian/changelog | sed
> -n's/.\+(\([^ ]\+\)).\+/\1/p')" ” should be enough.
> 
> It's not the best way to catch last version of the package but I
> failed to find a simpler way.

 dpkg-parsechangelog

-- 
Loïc Minier





More information about the Pbuilder-maint mailing list