Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python3.6/site-packages/setuptools/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-36.opt-1.pyc
3

9��f��@s"ddljjZGdd�dej�ZdS)�Nc@s eZdZdZdd�Zdd�ZdS)�	bdist_rpmaf
    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.
    cCs|jd�tjj|�dS)NZegg_info)Zrun_command�origr�run)�self�r�/usr/lib/python3.6/bdist_rpm.pyrs
z
bdist_rpm.runcsl|jj�}|jdd�}tjj|�}d|�d|���fdd�|D�}|j��d}d|}|j||�|S)N�-�_z%define version cs0g|](}|jdd�jdd�jdd�j����qS)zSource0: %{name}-%{version}.tarz)Source0: %{name}-%{unmangled_version}.tarzsetup.py install z5setup.py install --single-version-externally-managed z%setupz&%setup -n %{name}-%{unmangled_version})�replace)�.0�line)�line23�line24rr�
<listcomp>s
z-bdist_rpm._make_spec_file.<locals>.<listcomp>�z%define unmangled_version )ZdistributionZget_versionr
rr�_make_spec_file�index�insert)r�versionZ
rpmversion�specZ
insert_locZunmangled_versionr)r
rrrs

zbdist_rpm._make_spec_fileN)�__name__�
__module__�__qualname__�__doc__rrrrrrrs	r)Zdistutils.command.bdist_rpmZcommandrrrrrr�<module>s

ZeroDay Forums Mini