Blame SOURCES/setup.patch

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