Your message dated Wed, 31 May 2006 04:39:55 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336669: [feature request] debhelper: dh_indepversion or 
the like
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debhelper
Version: 4.9.13
Severity: wishlist

In the words of Henning Makholm:

> Scripsit Stefan Hornburg <[EMAIL PROTECTED]>
> 
>> Is the following line in debian/control too strict ?
> 
>> Depends: pure-ftpd-common (=${Source-Version}), ${shlibs:Depends}
> 
> It evidently creates problems for binary NMUs (where only the
> arch-dependent packages are uploaded with an NMU revision in the
> Source-Version). A workaround would be to add something like
> 
> dpkg-parsechangelog | perl -ne '\
> s/^Version: /Indep-Version=/ or next;\
> s/(-\d+\.\d+)\.d+$$/$$1/ && s/\.0$$//;\
> print' >> debian/substvars
> 
> in debian/rules before the dh_gencontrol, and the use
> 
>   Depends: pure-ftpd-common (=${Indep-Version}), ${shlibs:Depends}
> 
> instead. (Probably with some extra plumbing due to make the defn reach
> the package-specific substvars files).
> 
> Such a construction ought to be used everytime one uses
> =${Source-Version} to refer to an arch-independent package.
> There really ought to be some stock magic in {dpkg-,dh_}gencontrol
> for this, but currently there isn't.

Indeed, a script which generated this magic version number and put it into
substvars would be a very useful addition to debhelper.  I don't
see an existing script which it would be reasonable to add it to, however.


--- End Message ---
--- Begin Message ---
Hi,

I consider this bug closed with the following past change:

dpkg (1.13.19) unstable; urgency=low

  ...
  [ Guillem Jover ]
  * Add new substvars source:Version, source:Upstream-Version and
    binary:Version so packages will be able to avoid breaking on binNMUs.
    Based on a patch by Ken Bloom and Jeroen van Wolffelaar. Closes: #358530
  ...

 -- Guillem Jover <[EMAIL PROTECTED]>  Thu,  4 May 2006 14:05:21 +0300


regards,
guillem

--- End Message ---

Reply via email to