_i L d dl mc mZ ddlmZ G d dej Zy) N )SetuptoolsDeprecationWarningc e Zd ZdZd Zd Zy) 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.
c t j dddd | j d t j j | y )NzDeprecated commandz
bdist_rpm is deprecated and will be removed in a future version.
Use bdist_wheel (wheel packages) instead.
z.https://github.com/pypa/setuptools/issues/1988)i
)see_urldue_dateegg_info)r emitrun_commandorigr run)selfs /builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/command/bdist_rpm.pyr z
bdist_rpm.run sC $))
E#
$4 c t j j | }|D cg c]$ }|j dd j dd & }}|S c c}w )Nzsetup.py install z5setup.py install --single-version-externally-managed z%setupz&%setup -n %{name}-%{unmangled_version})r r _make_spec_filereplace)r speclines r r zbdist_rpm._make_spec_file sl ~~--d3
LL#G
gh HI
J
s )AN)__name__
__module____qualname____doc__r r r r r r s ! r r )distutils.command.bdist_rpmcommandr r warningsr r r r