SPECS: template-python.spec - python 2.4 is only in AC line, let's use (kin...

Jakub Bogusz qboosh at pld-linux.org
Thu Jan 22 07:18:57 CET 2009


On Thu, Jan 22, 2009 at 02:10:57AM +0100, wrobell wrote:
> Author: wrobell                      Date: Thu Jan 22 01:10:57 2009 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - python 2.4 is only in AC line, let's use (kinda) agreed pld release bcond
>   instead of py_ver usage to not introduce more mess on HEAD

> @@ -46,7 +46,7 @@
>  %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
>  %{py_sitedir}/*.py[co]
>  %attr(755,root,root) %{py_sitedir}/*.so
> -%if "%{py_ver}" > "2.4"
> +%if "%{pld_release}" == "ac"
>  %{py_sitedir}/TEMPLATE-*.egg-info
>  %endif
>  

Why mess? This is exact condition.

If some day Ac goes to python 2.5 (unlikely, but...), such distro-line
conditions will need to be changed.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list