File scons-3.0.0-fix-install.patch of Package scons

---
 setup.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/setup.py
+++ b/src/setup.py
@@ -376,7 +376,7 @@ class install_data(_install_data):
             if is_win32:
                 dir = 'Doc'
             else:
-                dir = os.path.join('man', 'man1')
+                dir = os.path.join('share', 'man', 'man1')
             self.data_files = [(dir, man_pages)]
             man_dir = os.path.join(self.install_dir, dir)
             msg = "Installed SCons man pages into %s" % man_dir
@@ -496,7 +496,7 @@ arguments = {
                                             'docbook-xsl-1.76.1/xhtml/*',
                                             'docbook-xsl-1.76.1/xhtml-1_1/*',
                                             'utils/*']},
-    'data_files': [('man/man1', man_pages)],
+    'data_files': [('share/man/man1', man_pages)],
     'scripts': scripts,
     'cmdclass': {'install': install,
                  'install_lib': install_lib,
openSUSE Build Service is sponsored by