rpm.spec, BR: python ?

Tomasz Trojanowski tomek at uninet.com.pl
Sun May 1 19:10:07 CEST 2005


On Sun, 1 May 2005, Bob Budowniczy wrote:

> On Sun, May 01, 2005 at 02:17:03PM +0200, Mariusz Mazur wrote:
>> On niedziela 01 maj 2005 14:15, Bob Budowniczy wrote:
>>> Witam
>>>
>>> Czy rpm.spec nie powinien miec BR: python?
>>
>> Nie. Po prostu jak budujesz coś pythonowego, to musisz mieć rpm-pythonprov.
>
> Mam, wiec ponawiam pytanie.

Nie. Już prędziej pozmieniać makra w następujący sposób

%py_ver %(echo `python -c "import sys; print sys.version[:3]"`)

na

%py_ver %(if [ -e /usr/bin/python ]; then echo `python -c "import sys; print sys.version[:3]"`; else echo 0; fi)

Pozdrawiam

-- 
Tomasz Trojanowski (tomek at uninet.com.pl)

"Between depriving a man of one hour from his life and depriving him of
his life there exist only a difference of degree." (FH, Dune Messiah)


More information about the pld-devel-pl mailing list