File python-redfish-fix-install.patch of Package python-redfish-openstack

diff --git a/setup.py b/setup.py
index 4bdc0c8..c1db958 100755
--- a/setup.py
+++ b/setup.py
@@ -232,12 +232,10 @@ if('install' in sys.argv):
     # Update conf files
     for file in datafiles.data['conf']['fdst']:
         print('Update : {}'.format(file))
-        replaceAll(file, 'PBSHAREPATH',
-                   os.path.dirname(datafiles.data['rfcusage']['fdst'][0]))
+        replaceAll(file, 'PBSHAREPATH', '/usr/share/redfish-client')
     # Update script files
     for file in datafiles.data['script']['fdst']:
         print('Update : {}'.format(file))
-        replaceAll(file, 'PBCONFFILE', datafiles.data['conf']['fdst'][0])
+        replaceAll(file, 'PBCONFFILE', '/etc/redfish-client.conf')
         replaceAll(file, 'PBVER', getversion())
-        replaceAll(file, 'PBSHAREPATH',
-                   os.path.dirname(datafiles.data['rfcusage']['fdst'][0]))
+        replaceAll(file, 'PBSHAREPATH', '/usr/share/redfish-client')
openSUSE Build Service is sponsored by