perl-DBD-MySQL-2.9007-1.src.rpm rebuild

Michael A. Peters mpeters at mac.com
Tue Jun 14 09:33:15 UTC 2005


On Tue, 2005-06-14 at 09:06 +0100, Gavin Henry wrote:

> >
> > You need to add something like the following at the top of your spec file:
> > %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo
> > $installvendorlib)
> > %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo
> > $installvendorarch)
> >
> > (it should be 2 lines, not 4)
> >
> > An example in another spec file:
> > http://dries.ulyssis.org/rpm/packages/perl-DBD-CSV/perl-DBD-CSV-spec.html
> > http://dries.ulyssis.org/rpm/packages/perl-DBD-CSV/info.html
> >
> > Then you can compile it also on rhel3 normally.
> 
> Excellent! Worked a treat.
> 
> Should I file a bug, or is this RHEL3 specific?

I believe those macros  are defined in FC3/FC4 rpm w/o needing to be
defined in the spec file itself, so it wouldn't be a bug unless the
specfile you are using is suppose to build on RHEL3.




More information about the fedora-devel-list mailing list