Luca Olivetti wrote:

Maybe it's possible that the new perl doesn't need a PREFIX at all once you specified a DESTDIR, otherwise your patch shouldn't work
Probably the correct thing to do is:

%if %mdk92
%{__make} install DESTDIR=%{buildroot} mandir=%{_mandir}
%{__make} -C man install DESTDIR=%{buildroot}  mandir=%{_mandir}
%else
%{__make} install DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} mandir=%{_mandir}
%{__make} -C man install DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} 
mandir=%{_mandir}
%endif


Seeing the changelog in perl packages from Ben Reser it seems this is indeed the correct thing to do. As well as

%if %{mdk92}
%exclude %{perl_archlib}/perllocal.pod
%endif

Bye
--
Que les importa a las viudas, a los hu�rfanos, a los desvalidos
si las masacres se hacen en nombre del totalitarismo o en el
sagrado nombre de la libertad y la democracia.
    Mahatma Gandhi (1869 - 1948)

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to