a [Îdg„ã@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)Z run_commandÚorigrÚrun)Úself©rúF/usr/local/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Ú sùþûz-bdist_rpm._make_spec_file..)rrÚ_make_spec_file)rÚspecrrrr s  ø zbdist_rpm._make_spec_fileN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr rrrrrsr)Zdistutils.command.bdist_rpmZcommandrrrrrrÚs