[BRLTTY] rpmbuild --rebuild brltty-4.0-1.src.rpm

Lars Bjørndal lars.bjorndal at broadpark.no
Tue Jul 14 05:02:23 EDT 2009


Dave Mielke <dave at mielke.cc> writes:

> [quoted lines by Lars Bjørndal on 2009/07/13 at 15:36 +0200]
>
>>I try to rebuild brltty version 4 for my newly installed Fedora 11
>>system. In the %files section in the spec file, the python version is
>>hard coded into 2.4, although on my new system it's 2.6. Is there some
>>way to guess the installed python version instead?
>
> There may be some clever way to figure it out from within the spec file, but 
> that'd require more knowledge than I have. If, however, you run autogen first 
> then you'll get a spec file which matches your system.

Thank you for this information. Maybe it could be possible to use
'python --version' with a sed command to get the version.

Lars


More information about the BRLTTY mailing list