The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Module::Install::RPM - require certain RPMs be installed

SYNOPSIS

  use inc::Module::Install;

  name      'Your-Module';
  all_from  'lib/Your/Module.pm';

  requires_rpm  'gd';
  requires_rpm  'httpd' => '2.2';

  WriteAll;

DESCRIPTION

Provide a mechanism for a Perl module to require that certain RPMs are installed and that they optionally meet some minimum version requirements.

NOTE: This is only useful for Linux distributions that utilize the RedHat Package Manager to maintain package information.

BUGS

There is no check that the code is being executed on the appropriate operating system.

COPYRIGHT

Copyright 2010 Jonathan Scott Duff <duff@pobox.com>

This software is licensed under the same terms as Perl.