Bug 18907: Build has deprecating message
authorMark Tompsett <mtompset@hotmail.com>
Thu, 6 Jul 2017 15:42:43 +0000 (15:42 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Dec 2017 13:09:52 +0000 (10:09 -0300)
Following the instructions at:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
Receiving the following message in the build:
dpkg-source: warning: relation < is deprecated: use << or <=

This patch tweaks the list-deps.
git diff origin/master -- debian/list-deps shows just the one line
changed from < to << as per the messages suggestion and eythian's
suggestion on IRC:
http://irc.koha-community.org/koha/2017-07-06#i_1950698

The control file can be regenerated from the command-line:
./debian/update-control
However, it will be attached separately.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

debian/list-deps

index a1b37cf..cba49c6 100755 (executable)
@@ -26,7 +26,7 @@ use C4::Installer::PerlDependencies;
 # apt-file can find, e.g. in the Koha repo rather than the regular
 # debian one.
 my %overrides = (
-    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<6.02), libio-socket-ssl-perl',
+    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
     'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl',
     'Swagger2'             => 'libswagger2-perl (>= 0.59)',
     'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',