<quote who="dries"> > Quoting Gavin Henry <ghenry@xxxxxxxxxxxxxxxxxx>: > >> Dear guys, >> >> I know I should be doing this, but I am rebuilding >> perl-DBD-MySQL-2.9007-1.src.rpm on RHEL3, and I get a failure: >> >> RPM build errors: >> File must begin with "/": %{perl_vendorarch}/Bundle/ >> File must begin with "/": %{perl_vendorarch}/DBD/ >> File must begin with "/": %{perl_vendorarch}/Mysql* >> File must begin with "/": %{perl_vendorarch}/auto/DBD > > 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? Thanks. > > kind regards, > Dries Verachtert > > -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-devel-list