name : bdist_rpm.cpython-39.pyc
a

��kh��@s(ddlmmZGdd�dej�ZdS)�Nc@s eZdZdZdd�Zdd�ZdS)�	bdist_rpma
    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.
    cCs|�d�tj�|�dS)NZegg_info)Zrun_command�origr�run)�self�r�@/usr/lib/python3.9/site-packages/setuptools/command/bdist_rpm.pyr
s
z
bdist_rpm.runcCstj�|�}dd�|D�}|S)NcSs g|]}|�dd��dd��qS)zsetup.py install z5setup.py install --single-version-externally-managed z%setupz&%setup -n %{name}-%{unmangled_version})�replace)�.0�linerrr�
<listcomp>s���z-bdist_rpm._make_spec_file.<locals>.<listcomp>)rr�_make_spec_file)r�specrrrrs
�
zbdist_rpm._make_spec_fileN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsr)Zdistutils.command.bdist_rpmZcommandrrrrrr�<module>s

© 2025 Cubjrnet7