On 04/07/2010 04:59 PM, Rahul Sundaram wrote:
On 04/07/2010 05:37 PM, Ralf Corsepius wrote:
> There is a small bug in the example:
>
> Instead of
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT/usr/share/info/dir
>
> this should be
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>
Hmm. The original example works. Changing that and building the spec
doesn't actually work. Have you checked that?
You have
rm -f $RPM_BUILD_ROOT%{infodir}/dir
in the Wiki.
It should be
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
Note: %{_infodir} vs. %{infodir}
Ralf