Commit d4b986c
CPAN->deb related fixes (jordansissel#1947)
* fix comment at end of cpan class
* make &perldepfix create correct dependencies for cpan->deb packages
prior version created automatic dependencies for deb packages that
weren't named according to the standard specified here:
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html
* add --cpan-package-name-postfix and fix automatic names cpan pkgs
use --cpan-package-name-prefix and --cpan-package-name-postfix to
create the cpan package name
do not assume a dash between the prefix and the package name
change the defualt prefix from perl to perl- because for deb packages
you want the prefix to be lib and do not want a -
* 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.
* update getting-started.rst to reflect cpan related changes
* Revert "update getting-started.rst to reflect cpan related changes"
This reverts commit ae1a628.
* Revert "add --cpan-package-reject-from-depends option to filter auto-depends"
This reverts commit b4e138f.
* Revert "add --cpan-package-name-postfix and fix automatic names cpan pkgs"
This reverts commit 1564cd9.
* 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.
* use Debian style names for CPAN modules
---------
Co-authored-by: Aran Cox <aran-cox@uiowa.edu>
Co-authored-by: Jordan Sissel <131818+jordansissel@users.noreply.github.com>1 parent 088be70 commit d4b986c
2 files changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
790 | 798 | | |
791 | 799 | | |
792 | 800 | | |
793 | | - | |
| 801 | + | |
| 802 | + | |
794 | 803 | | |
795 | 804 | | |
796 | 805 | | |
| |||
801 | 810 | | |
802 | 811 | | |
803 | 812 | | |
804 | | - | |
| 813 | + | |
805 | 814 | | |
806 | 815 | | |
807 | 816 | | |
| |||
812 | 821 | | |
813 | 822 | | |
814 | 823 | | |
815 | | - | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
816 | 827 | | |
817 | 828 | | |
818 | 829 | | |
| |||
0 commit comments