forked from jordansissel/fpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add --cpan-package-reject-from-depends option to filter auto-depends
The auto-depends for cpan modules worked well on rpm because of the use of capabilities (ie: perl(IO::Handle)) but deb packages of CPAN modules generate dependencies that might not exist because they are provided by another package and therefore need to be filtered out. For instance, perl(IO::Handle) would be turned into libio-handle-perl, and that package doesn't exist. The IO/Handle.pm file is actually in package perl-base. Prior to this patch, fpm would filter out a short list of modules (vars, warnings, strict, and Config) and with this patch you can add to that list with --cpan-package-reject-from-depends.
- Loading branch information
Aran Cox
committed
Oct 27, 2022
1 parent
1564cd9
commit b4e138f
Showing
4 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters