ó ž‘Rec @ s/ d d l j j Z d e j f d „ ƒ YZ d S( iÿÿÿÿNt bdist_rpmc B s e Z d Z d „ Z d „ Z RS( sf Override the default bdist_rpm behavior to do the following: 1. Run egg_info to ensure the name and version are properly calculated. 2. Always run 'install' using --single-version-externally-managed to disable eggs in RPM distributions. 3. Replace dash with underscore in the version numbers for better RPM compatibility. c C s! | j d ƒ t j j | ƒ d S( Nt egg_info( t run_commandt origR t run( t self( ( s’ /builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/bdist_rpm.pyR s c C sÁ | j j ƒ } | j d d ƒ } t j j | ƒ } d | } d | } g | D]<