Michael S. Liebman wrote:
At 04:53 PM 11/11/2003, Torkil Zachariassen wrote:
Requires: perl-DBI >= 1.18
I believe the currently preferred form for Perl module dependencies is
something like perl(DBI),
Yes, “Requires: perl(MODULE)” seems to work fine. It also seems to work
if I just drop all the requirements. The sneek in again somehow, and
show up when rpm -Uvh rt-3.0.6.i386.rpm is run.
Also, it looks like your list of module dependencies is seriously out of
date. Have a look at the sbin/rt-test-dependencies script for what you
will need in the spec file.
Since you are working on a spec file for
RedHat, be sure to require a mod_perl2 that isn’t (more seriously) broken.
Installed are httpd-2.0.47-10, mod_perl-1.99_09-10, mysql-3.23.58-4 and
all the perl rpm’s within fedora. Is this mod_perl broken?
Sounds like you are suggesting this command to me (cf. the README)
$ ./rt-test-dependencies --with-modperl1 --with-mysql
Obviously I am still missing something.
rpm -Uvh --test /home/torkil/tmp/RPMS/i386/rt-3.0.6-1.i386.rpm
error: Failed dependencies:
perl(DBIx::SearchBuilder) is needed by rt-3.0.6-1
perl(DBIx::SearchBuilder::Record::Cachable) is needed by rt-3.0.6-1
perl(Encode::compat) is needed by rt-3.0.6-1
perl(Locale::Maketext::Lexicon) >= 0.25 is needed by rt-3.0.6-1
perl(Log::Dispatch) >= 1.6 is needed by rt-3.0.6-1
perl(MIME::Entity) is needed by rt-3.0.6-1
perl(MIME::Head) is needed by rt-3.0.6-1
perl(MIME::Parser) is needed by rt-3.0.6-1
perl(MIME::Words) is needed by rt-3.0.6-1
perl(Mail::Address) is needed by rt-3.0.6-1
perl(RT::Tickets_Overlay_SQL) is needed by rt-3.0.6-1
perl(Regexp::Common) is needed by rt-3.0.6-1
perl(Text::Template) is needed by rt-3.0.6-1
Now most of these can be found on CPAN (look into
/modules/02packages.details.txt.gz ). I will look into converting CPAN
tar balls to rpm’s using cpanflute2.
The execptions is
RT::Tickets_Overlay_SQL, which seems to be provided by rt itself, along
with a bunch of other RT:: modules. Wonder how this should be handled.
And lastly: I try to install using rpm (and yum) only, and would really
like not to use something like "perl -MCPAN -e ".