Bug#644036: libcrypt-dsa-perl: unnecessary dependency on Data::Random

gregor herrmann gregoa at debian.org
Mon Oct 3 15:25:27 UTC 2011


On Sun, 02 Oct 2011 22:31:37 +0200, gregor herrmann wrote:

> > My idea was then to update the Depends:/Recommends: line with something like
> > 	libdata-random-perl [!linux-any]
> Hm, right, that could work, sorry for missing the possibility in my
> first reply.

Or not:

Policy 7.1.:

#v+
For binary relationship fields, the architecture restriction syntax
is only supported in the source package control file debian/control.
When the corresponding binary package control file is generated, the
relationship will either be omitted or included without the
architecture restriction based on the architecture of the binary
package. This means that architecture restrictions must not be used
in binary relationship fields for architecture-independent packages
(Architecture: all).
#v-

And if I try it nevertheless the build fails:

#v+
dpkg-gencontrol: error: the Recommends field contains an arch-specific dependency but the package is architecture all
#v-

> Let's sleep over it and decide tomorrow :)

After some thoughts on IRC:
It looks like both kFreeBSB and hurd-i386 have dev/random now, so we
can just drop the Recommends.

Cheers,
gregor
 
-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Beach Boys: Surfer Girl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111003/3d791d31/attachment.pgp>


More information about the pkg-perl-maintainers mailing list