Bug 5824 - sa-compile check for ExtUtils::MakeMaker before re2c
Summary: sa-compile check for ExtUtils::MakeMaker before re2c
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: sa-compile (show other bugs)
Version: 3.2.4
Hardware: Other other
: P5 normal
Target Milestone: 3.3.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-11 13:05 UTC by Warren Togami
Modified: 2008-03-05 09:00 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Warren Togami 2008-02-11 13:05:42 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=432176
Fedora 8+ has split out certain headers and development related perl modules
into separate packages and a perl-devel package by distribution packaging
policy.  Also by our packaging policy, ordinary applications and server daemons
should not need development tools, headers and such for runtime operation.  We
discovered that sa-compile of spamassassin is causing perl module
ExtUtils::MakeMaker to be pulled in as a dependency which also pulls in perl-devel.

We now considering filtering out ExtUtils::MakeMaker from spamassassin's
dependencies in order to prevent it from pulling several -devel packages.  I am
wondering if spamassassin upstream can agree to add a simple detection of
ExtUtils::MakeMaker to sa-compile and print out a sensible error message if it
isn't installed?

Thanks,
Warren
Comment 1 Justin Mason 2008-02-11 14:59:05 UTC
I'd be ok with this, if you provide a patch ;)
Comment 3 Justin Mason 2008-02-12 01:21:41 UTC
I'm fine with that.  could you provide the diff (or at least a cut and paste) of
the change made to the RPM?  it'd make more sense to apply that to our RPM too, imo.
Comment 4 Justin Mason 2008-03-05 09:00:28 UTC
applied to trunk:

: jm 482...; svn commit -m "bug 5824: ensure ExtUtils::MakeMaker and re2c are
available before allowing sa-compile to start, thanks to Warren Togami"
sa-compile.raw
Sending        sa-compile.raw
Transmitting file data .
Committed revision 633933.