Jerry, thanks, looks good.  To make it easy to add Python 2.5, please
make the following changes (everyone packaging python stuff, please
listen ;)

On Thu, 2008-11-13 at 18:03 +0800, Jerry Yu wrote:
> #
> # spec file for package python-cssutils
> #
> # Copyright 2008 Sun Microsystems, Inc.
> # This file and all modifications and additions to the pristine
> # package are under the same license as the package itself.
> #
> # Owner: jyu_mit
> #
> 
> %define pythonver 2.4

Change the above line to

%{?!pythonver:%define pythonver 2.4}

This means, if pythonver is not defined, then define it as 2.4.


> %install
> python setup.py install --root=$RPM_BUILD_ROOT

In the above line, change "python" to "python%{pythonver}"

Thanks,
Laca



Reply via email to