Skip to content

Commit

Permalink
perl dependency JSON-XS: set an explicit dependency on the RPM version
Browse files Browse the repository at this point in the history
- Fixes quattor#114 (failure to match Perl-generated requirement on SL5)
  • Loading branch information
jouvin committed Jul 19, 2016
1 parent 865cefe commit 74da881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@
<requires>
<require>perl(Crypt::SSLeay)</require>
<require>perl(LWP::Protocol::https)</require>
</requires>
<!-- perl-JSON-XS rpm dependency set explicitly; EL5 metadata doesn't play nicely with 'perl(JSON::XS) >= 2.3.0'
set by 'use perl-JSON-XS 2.3.0' and version requirement is missing if 'use perl-JSON-XS v2.3.0' is used -->
<require>perl-JSON-XS &gt;= 2.3.0</require> </requires>
<mappings>
<mapping>
<directory>/usr/lib/perl/EDG/WP4/CCM</directory>
Expand Down
2 changes: 1 addition & 1 deletion src/main/perl/JSONProfileSimple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use strict;
use warnings;

use EDG::WP4::CCM::Fetch qw(ComputeChecksum);
use JSON::XS 2.3.0;
use JSON::XS v2.3.0;

$SIG{__DIE__} = \&confess;

Expand Down
2 changes: 1 addition & 1 deletion src/main/perl/JSONProfileTyped.pm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use strict;
use warnings;

use EDG::WP4::CCM::Fetch qw(ComputeChecksum);
use JSON::XS 2.3.0;
use JSON::XS v2.3.0;
use B;
use Scalar::Util qw(blessed);

Expand Down

0 comments on commit 74da881

Please sign in to comment.