Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPAN build rpm-spec need to delete perllocal.pod #443

Closed
chenryn opened this issue May 16, 2013 · 6 comments
Closed

CPAN build rpm-spec need to delete perllocal.pod #443

chenryn opened this issue May 16, 2013 · 6 comments

Comments

@chenryn
Copy link

@chenryn chenryn commented May 16, 2013

Every CPAN module will make a file named '/usr/local/lib64/perl5/perllocal.pod', so multi-perl-module while conflict between each others.
Now I need to fpm -e and delete such file by myself. But I think this need to be done by fpm?

@jordansissel
Copy link
Owner

@jordansissel jordansissel commented May 16, 2013

Hm... I don't see this file in all packages. Strange!

But I agree, conflicting (and pointless, in this case) files should be fixed automatically by fpm.

jordansissel added a commit that referenced this issue May 16, 2013
@jordansissel
Copy link
Owner

@jordansissel jordansissel commented May 16, 2013

Fixed in master. (4fc015a)

@chenryn
Copy link
Author

@chenryn chenryn commented May 16, 2013

maybe need more smart path?
staging_path + prefix + "/usr/local/lib64/perl5/perllocal.pod" on my CentOS6.3 x86_64

@glensc
Copy link
Contributor

@glensc glensc commented Jun 18, 2013

agree with @chenryn: lib64 systems need such fix too (arch x86-64)

thus:

"lib*/perl/*/perllocal.pod"

insead of

"lib/perl/*/perllocal.pod"
@jordansissel
Copy link
Owner

@jordansissel jordansissel commented Jun 18, 2013

Noted, thank you!

jordansissel added a commit that referenced this issue Jun 18, 2013
@jordansissel
Copy link
Owner

@jordansissel jordansissel commented Jun 18, 2013

12c1cf5 adds lib*

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014
prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014
prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all
packages created with fpm will contain this file:

    /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod

The current code only works if cpan_perl_lib_path is undefined.

Also see jordansissel#443 and jordansissel#510.
prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014
prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014
prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all
packages created with fpm will contain this file:

    /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod

The current code only works if cpan_perl_lib_path is undefined.

Also see jordansissel#443 and jordansissel#510.
jordansissel pushed a commit that referenced this issue Apr 24, 2015
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all
packages created with fpm will contain this file:

    /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod

The current code only works if cpan_perl_lib_path is undefined.

Also see #443 and #510.
jordansissel pushed a commit that referenced this issue Jun 20, 2016
For example, if cpan_perl_lib_path is set to "/usr/share/perl5", all
packages created with fpm will contain this file:

    /usr/share/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod

The current code only works if cpan_perl_lib_path is undefined.

Also see #443 and #510.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants