Blame SOURCES/setup.patch

46a259
diff -up pyghmi-1.5.14/.orig.orig pyghmi-1.5.14/.orig
46a259
diff -up pyghmi-1.5.14/setup.py.tmpl.orig pyghmi-1.5.14/setup.py.tmpl
46a259
--- pyghmi-1.5.14/setup.py.tmpl.orig	2021-08-06 11:44:02.618240604 +0200
46a259
+++ pyghmi-1.5.14/setup.py.tmpl	2021-08-06 11:44:35.586675599 +0200
46a259
@@ -26,6 +26,15 @@ setuptools.setup(
46a259
     packages=['pyghmi', 'pyghmi.util', 'pyghmi.ipmi', 'pyghmi.cmd',
46a259
               'pyghmi.redfish', 'pyghmi.ipmi.private', 'pyghmi.ipmi.oem',
46a259
               'pyghmi.ipmi.oem.lenovo', 'pyghmi.redfish.oem',
46a259
-              'pyghmi.redfish.oem.lenovo'],
46a259
+              'pyghmi.redfish.oem.lenovo', 'pyghmi.tests'],
46a259
+    entry_points={
46a259
+        'console_scripts': [
46a259
+            'pyghmicons=pyghmi.cmd.pyghmicons:main',
46a259
+            'pyghmiutil=pyghmi.cmd.pyghmiutil:main',
46a259
+            'virshbmc=pyghmi.cmd.virshbmc:main',
46a259
+            'fakebmc=pyghmi.cmd.fakebmc:main',
46a259
+        ],
46a259
+    },
46a259
+
46a259
     license='Apache License, Version 2.0')
46a259