-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-10.0.beta
-
None
-
None
-
rhel-storage-io-2
-
ssg_filesystems_storage_and_HA
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Please provide the package NVR for which bug is seen:
nvmetcli-0.7-12.el10.src.rpm
How reproducible:
100%
Steps to reproduce
- rpmbuild -ba ~/rpmbuild/SPECS/nvmetcli.spec
Expected results
Actual results
The warning from /root/rpmbuild/SPECS/nvmetcli.spec:43:%{__python3} setup.py install --skip-build --root %
{buildroot}
+ cd nvmetcli-0.7
+ /usr/bin/python3 setup.py install --skip-build --root /root/rpmbuild/BUILDROOT/nvmetcli-0.7-12.el10.x86_64
running install
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
Follow the current Python packaging guidelines when building
Python RPM packages.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details.
********************************************************************************
!!
self.initialize_options()