Bug#557971: [new check] deprecated relation operators in debian/control
Package: lintian
Version: 2.2.18
Severity: normal
According to Debian Policy:
The relations allowed are `<<', `<=', `=', `>=' and `>>' for strictly
earlier, earlier or equal, exactly equal, later or equal and strictly
later, respectively. The deprecated forms `<' and `>' were used to
mean earlier/later or equal, rather than strictly earlier/later, so
they should not appear in new packages (though `dpkg' still supports
them).
However, lintian doesn't mind < and > operators in debian/control:
$ apt-get source python-axiom
[...]
dpkg-source: info: extracting python-axiom in python-axiom-0.5.31
dpkg-source: info: unpacking python-axiom_0.5.31.orig.tar.gz
dpkg-source: info: applying python-axiom_0.5.31-2.diff.gz
$ grep '(<' python-axiom-0.5.31/debian/control
Conflicts: libsqlite3-0 (< 3.6.12)
$ lintian python-axiom_0.5.31-2.dsc
W: python-axiom source: out-of-date-standards-version 3.8.1 (current is 3.8.3)
I take the liberty of setting severity of this bug as greater than
wishlist, because dpkg-gencontrol used to (at least since lenny, until
recently) incorrectly interpret <, > as <<, >>.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20-4 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.5.2 Debian package development tools
ii file 5.03-3 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.50-1 module to manipulate and access UR
ii man-db 2.5.6-4 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-8 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.6-4 on-line manual pager
-- no debconf information
--
Jakub Wilk
Reply to: