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 http://czchen.info/ Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B
signature.asc
Description: PGP signature