CPANPLUS-Dist-Debora
view release on metacpan or search on metacpan
lib/CPANPLUS/Dist/Debora/Package.pm view on Meta::CPAN
=head2 mb_opt
local $ENV{PERL_MB_OPT} = $package->mb_opt;
Returns the options that are passed to C<perl Build.PL>.
=head2 mm_opt
local $ENV{PERL_MM_OPT} = $package->mm_opt;
Returns the options that are passed to C<perl Makefile.PL>.
=head2 sanitize_stagingdir
my $ok = $package->sanitize_stagingdir;
Fixes permissions. Removes empty directories and files like F<perllocal.pod>
and F<.packlist>.
=head2 remove_stagingdir
my $ok = $package->remove_stagingdir;
Removes the staging directory.
=head2 rpm_cmd
my $rpm_cmd = $self->rpm_cmd;
Returns the path to the rpm command.
=head2 rpm_eval
my $expr = '%{?packager}';
my $string = $package->rpm_eval($expr);
Evaluates an expression with rpm and returns the result or the empty string.
=head2 sudo_cmd
my $sudo_cmd = $self->sudo_cmd;
Returns the path to the sudo command.
=head1 DIAGNOSTICS
See L<CPANPLUS::Dist::Debora> for diagnostics.
=head1 CONFIGURATION AND ENVIRONMENT
See L<CPANPLUS::Dist::Debora> for supported files and environment variables.
=head1 DEPENDENCIES
Requires the module L<Software::License> from CPAN.
=head1 INCOMPATIBILITIES
None.
=head1 BUGS AND LIMITATIONS
Some operating systems numify Perl distribution versions but not consistently.
This module sticks closely to the version string, which seems to be the most
common approach.
=head1 SEE ALSO
L<CPANPLUS::Dist::Debora::Package::Debian>,
L<CPANPLUS::Dist::Debora::Package::RPM>,
L<CPANPLUS::Dist::Debora::Package::Tar>,
L<CPANPLUS::Dist::Debora::License>,
L<CPANPLUS::Dist::Debora::Pod>,
L<CPANPLUS::Dist::Debora::Util>
=head1 AUTHOR
Andreas Vögele E<lt>voegelas@cpan.orgE<gt>
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2025 Andreas Vögele
This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
=cut
( run in 2.554 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )