[packages/util-linux] - fix man links - rel 4
Elan Ruusamäe
glen at pld-linux.org
Fri Mar 22 15:56:42 CET 2013
On 22.03.2013 16:02, baggins wrote:
> ln -sf hwclock $RPM_BUILD_ROOT/sbin/clock
> -echo '.so hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
> +echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
>
> ln -s utmpdump $RPM_BUILD_ROOT%{_bindir}/utmpx-dump
>
> @@ -816,6 +816,14 @@ for d in es ja ko ; do
> $RPM_BUILD_ROOT%{_mandir}/$d/man8/readprofile.8
> %{__sed} -i -e 's/READPROFILE 1/READPROFILE 8/' $RPM_BUILD_ROOT%{_mandir}/$d/man8/readprofile.8
> done
> +# fix inconsistent man links
> +echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/es/man8/clock.8
> +echo '.so man8/hwclock.8' > $RPM_BUILD_ROOT%{_mandir}/ja/man8/clock.8
imho you can just rm the localizations that link to manpage, the english
one will be used anyway
--
glen
More information about the pld-devel-en
mailing list