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

wrobell wrobell at pld-linux.org
Thu Jan 22 10:49:57 CET 2009


On Thu, Jan 22, 2009 at 07:18:57AM +0100, Jakub Bogusz wrote:
> 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.

so new bcond for other languange in AC. for some framework new bcond as
well...  and so on? do you want to track all of them?

regards,

    wrobell <wrobell at pld-linux.org>


More information about the pld-devel-en mailing list