Bug 67658

Summary: spamassassin-2.31-5 not --rebuildable
Product: [Retired] Red Hat Raw Hide Reporter: tengel
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-28 17:41:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description tengel 2002-06-28 17:40:56 UTC
Description of Problem:
Trying to "rpm --rebuild spamassassin-2.31-5.src.rpm" on both RH62 and RH72
results in an error that seems pretty generic:

==snip==
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3283
...
make: *** No rule to make target `pure_vendor_install', needed by
`pure_install'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.3283 (%install)
==snip==

Version-Release number of selected component (if applicable):
spamassassin-2.31-5

How Reproducible:
rpm --rebuild spamassassin-2.31-5.src.rpm

Comment 1 Chip Turner 2002-06-28 17:47:52 UTC
the SRPM is for perl 5.8.0 and higher; older perl's do not have support for
vendor install dirs.

You can make it work by changing:
%{__perl} Makefile.PL PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLDIRS=vendor
to
%{__perl} Makefile.PL

That should get it closer, but rebuilding on non-5.8 perls is unsupported.