Bug 132907
Summary: | [patch] rpmbuild(8) vs. ENV(PERL_MM_OPT) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan> | ||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | jbj, katzj, mattdm, nobody+pnasrat | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-10-27 00:18:34 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jan Kratochvil
2004-09-19 07:14:48 UTC
Created attachment 103995 [details]
Patch to delete ENV(PERL_MM_OPT) for %build and %install
PERL_MM_OPT needs to be dealt with in ImageMagick.spec, not in default rpmbuild configuration. One could also fix in build system setup by controlling for what is in the environment when rpmbuild is invoked. > PERL_MM_OPT needs to be dealt with in ImageMagick.spec
PERL_MM_OPT could be handled by all the packages building any Perl
modules. As the handling would be always the same. Therefore I think
it is more systematic approach to normalize Perl build environment by
rpmbuild(8) itself.
Otherwise there is a need to post 100+ bugreports or so.
ENV(PERL_MM_OPT) is the same category as ENV(CLASSPATH) or umask(1)
already handled by %___build_pre.
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. The bug is still valid for: rpm-4.4.1-18.1 To prove it is not ImageMagick related you can try this command: PERL_MM_OPT='PREFIX=/home/lace' rpmbuild --rebuild /tmp/perl-XML-NamespaceSupport-1.08-7.src.rpm Attached patch fixes it. Added in rpm-4.4.3-0.26 when built. |