OK - first, I'm not a perl guru. I don't use it a lot.
What I'm doing, I am RPM bootstrapping a LFS 7.3 system (with some minor deviation, namely I'm using {,/usr}/lib64
I am writing my RPM spec files from scratch - in the case of perl, I first wrote the spec file and then when RPM claimed about bogus dependency issues, I took a look at Fedora's spec file and merged some of it in with mine.
Here is the current result:
http://www.sakari.us/perl.spec
With Fedora's filters, I'm only left with two un-satisfied dependencies:
I suspect those are real, that some of perl's bundled modules call those external modules.
I don't need perl DB stuff at the moment so I don't have to worry about it, but one thing I do need to do is understand how the make test system works in Fedora. My hope is that for the most part, I'll be able to just rebuild Fedora src.rpm's when I need a perl module I don't have. Well, when I need a perl module to solve a package dependency, I'll just use CPAN when it doesn't need to solve a dependency.
From Fedora's spec file macros, I commented out
#%%global perl5_testdir %{_libexecdir}/perl5-tests
Reading Fedora's /etc/rpm/macros.perl - it looks like it has some voodoo in their with respect to make test that I don't understand.
I like to run make test.
I don't yet in that perl rpm (I know patching will be needed for some) and I don't know what add-ons to base perl I need (if any) to have a robust test environment for rebuilding Fedora perl modules.
Can anyone bottom-line it for me?
I looked at the Perl SIG wiki but didn't see the test system described there, or common issues with it.
Thanks for suggestions.
PS - I hate that Fedora solves the multilib problem by putting noarch stuff in /usr/share - that just seems wrong to me.
What I'm doing, I am RPM bootstrapping a LFS 7.3 system (with some minor deviation, namely I'm using {,/usr}/lib64
I am writing my RPM spec files from scratch - in the case of perl, I first wrote the spec file and then when RPM claimed about bogus dependency issues, I took a look at Fedora's spec file and merged some of it in with mine.
Here is the current result:
http://www.sakari.us/perl.spec
With Fedora's filters, I'm only left with two un-satisfied dependencies:
Code:
error: Failed dependencies:
perl(DBD::SQLite) is needed by perl-4:5.16.2-0.yjl7.3.1.x86_64
perl(DBIx::Simple) is needed by perl-4:5.16.2-0.yjl7.3.1.x86_64
I don't need perl DB stuff at the moment so I don't have to worry about it, but one thing I do need to do is understand how the make test system works in Fedora. My hope is that for the most part, I'll be able to just rebuild Fedora src.rpm's when I need a perl module I don't have. Well, when I need a perl module to solve a package dependency, I'll just use CPAN when it doesn't need to solve a dependency.
From Fedora's spec file macros, I commented out
#%%global perl5_testdir %{_libexecdir}/perl5-tests
Reading Fedora's /etc/rpm/macros.perl - it looks like it has some voodoo in their with respect to make test that I don't understand.
I like to run make test.
I don't yet in that perl rpm (I know patching will be needed for some) and I don't know what add-ons to base perl I need (if any) to have a robust test environment for rebuilding Fedora perl modules.
Can anyone bottom-line it for me?
I looked at the Perl SIG wiki but didn't see the test system described there, or common issues with it.
Thanks for suggestions.
PS - I hate that Fedora solves the multilib problem by putting noarch stuff in /usr/share - that just seems wrong to me.