================================================================================
$Id: 3:Python_MODULE.txt 172 2004-04-13 22:09:51Z cray $
--------------------------------------------------------------------------------
       python

    1.    python    python-module-;
    
    2.        pythonX.Y   
        pythonX.Y-module-;
        
    3.          ,
           ,    
          :
        
            python = %__python_version

            python-devel = %__python_version
            
        (   ,      
         ,    ,  );
        
    4.    GROUP     Development/Python/Modules;        
        
    5.       ,  
             python-serial,    
        .   , .  ,   ,
             ;
        
    6.    - python  ,  
              
         (   ),    ( 
         "    /home/vasya/petya.py,    
        ").    ( ,  );
        
    7.       rpm-build-python;
    
    8.          
        :
        
            python setup.py bdist-altrpm --spec-only,
            
        ,  setup.py     . ,
        .   distutils  bdist_altrpm (  rpm-build-python).
        
       (   ,  ) :
    
        1.   :

                rpmbuild -ba pyserial.spec

               python-pyserial-*.rpm, ,  rpm  
             (, 2.3)  python. 
            
        2.     :            
            
                rpmbuild -ba pyserial.spec --with pythonXY

                pythonXY-pyserial...rpm, (AO:
            ,      
               );

              ,   XY   22, 23 
            (  ) 24. 

                  python   

                Requires: python%__python_package_version-<anotherModule>

      ,  ,   pythonXY-- 
           "" .    
    ,     --with    .    
================================================================================

