Permalink
Browse files

Use install_share and dist_dir to allow locating amqp_spec file witho…

…ut loading Coro.
  • Loading branch information...
clkao committed Aug 16, 2010
1 parent bcbde73 commit 4e19c01e83c0f79ae142d67d5ab979540db3f9fb
Showing with 2 additions and 1 deletion.
  1. +1 −0 Makefile.PL
  2. +1 −1 lib/Net/RabbitFoot.pm
  3. 0 {lib/auto/Net/RabbitFoot → share}/fixed_amqp0-8.xml
View
@@ -19,6 +19,7 @@ requires 'File::ShareDir';
tests 't/*.t';
author_tests 'xt';
+install_share;
build_requires 'Test::More';
build_requires 'Test::Exception';
View
@@ -38,7 +38,7 @@ sub load_xml_spec {
}
sub default_amqp_spec {
- my $dir = File::ShareDir::module_dir(__PACKAGE__);
+ my $dir = File::ShareDir::dist_dir("Net-RabbitFoot");
return "$dir/fixed_amqp0-8.xml";
}
File renamed without changes.

0 comments on commit 4e19c01

Please sign in to comment.