On Friday 19 October 2007 01:32, areq wrote:
> -rm $RPM_BUILD_ROOT%{_mandir}/man7/des_modes.7
> +rm
> $RPM_BUILD_ROOT%{_mandir}{/man7/des_modes.7,/man5/config.5,/man5/x509v3_con
>fig.5} echo ".so openssl_des_modes.7" >
> $RPM_BUILD_ROOT%{_mandir}/man7/des_modes.7 +echo ".so openssl_config.5" >
> $RPM_BUILD_ROOT%{_mandir}/man5/config.5 +echo ".so openssl_x509v3_config.5"
> > $RPM_BUILD_ROOT%{_mandir}/man5/x509v3_config.5
>
>  %clean
>  rm -rf $RPM_BUILD_ROOT
> @@ -437,6 +439,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> +Revision 1.177  2007/10/18 22:32:54  areq
> +- rel 4; use groff symlink for config.5 x509v3_config.5
> +

perhaps do this automatically in compress_man macro?
sth like (after decompressing .gz and before doing it again):

find %{_mandir} -type l | while read a; do
  l=$(readlink $a)
  rm -f a;
  echo ".so $(basename $l)" > $a
done

care must be taken when symlinks point to other .gz files.

-- 
glen
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to