[Pkg-ime-devel] Bug#888101: Bug#888101: Bug#888101: libpinyin13-dev ships same files as libpinyin7-dev without Conflicts

ChangZhuo Chen (=?UTF-8?Q?=E9=99=B3=E6=98=8C=E5=80=AC?=) czchen at debian.org
Sun Jan 28 11:57:58 UTC 2018

On Sun, Jan 28, 2018 at 07:09:15PM +0800, ChangZhuo Chen wrote:
> On Tue, Jan 23, 2018 at 07:08:06AM -0500, Jeremy Bicha wrote:
> > Package: libpinyin13-dev
> > Version: 2.1.0-1~exp3
> > Severity: serious
> > 
> > libpinyin13-dev and libpinyin7-dev both include these files:
> > 
> > /usr/lib/x86_64-linux-gnu/libpinyin.a
> > /usr/lib/x86_64-linux-gnu/libpinyin.so
> > /usr/lib/x86_64-linux-gnu/pkgconfig/
> > /usr/lib/x86_64-linux-gnu/pkgconfig/libpinyin.pc
> > 
> > I think you need to add Conflicts: libpinyin7-dev.
> The Conflicts is set indirectly through libpinyin7 and libpinyin13, but
> I think set it expliticly is also a good idea.

The current control is:

  Package: libpinyin13-dev
  Provides: libpinyin-dev
  Conflicts: libpinyin-dev

And after checking the policy, I think it falls to the following case
described in policy:

  Conflicts should be used
    * in conjunction with Provides when only one package providing a given virtual facility may be unpacked at a time (see Virtual packages - Provides),

So I think we don't need to Conflicts libpinyin7-dev.

ChangZhuo Chen (陳昌倬) czchen@{czchen,debconf,debian}.org
Key fingerprint = BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20180128/a90c2b47/attachment.sig>

More information about the Pkg-ime-devel mailing list