Kaixo!
On Mon, Jan 24, 2000 at 11:58:35PM +0100, David BAUDENS wrote:
>> cp $RPM_SOURCE_DIR/pmake-sys-%{_arch}.mk lib/mk/sys-%{_target_cpu}.mk
>
> It's not a good idea: if your %_arch in ~/.rpmmacros is set on k6 (like
It shouldn't I think.
%{_arch} (not the same as arch !) should be the *generic* architecture;
that is 'i386' for all PCs, 'alpha' for all alphas etc.
Look at the kernel spec file for example, %{_arch} is used for selecting
the arch/... directory of linuxsources; that is %{_arch} can be only one of
alpha arm i386 m68k mips ppc sparc sparc64
Perl and python packages also must use %{_arch} that way; otherwise 3d
parties packages won't find the perl/python files.
It is %{_target_cpu} that should be k6, i486, etc.
> it should be if you rebuild Air for K6 like me), it will not work
> because
> pmake-sys-%{_arch}.mk will be � pmake-sys-k6.mk �, which doesn't exist.
On a K6 pmake-sys-%{_arch}.mk should be pmake-sys-i386.mk
If you use %{_arch} for the specific architecture; then another macro has
to be decided for the generic architecture; and all rpms using %{_arch}
should be rebuilt accordingly.
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975