LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File scons-1.2.0-fix-install.patch of Package scons (Project home:nkukreja:contrail)

--- setup.py
+++ setup.py
@@ -353,7 +353,7 @@
             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
@@ -405,7 +405,7 @@
                           "SCons.Variables",
                          ],
     'package_dir'      : {'' : 'engine'},
-    'data_files'       : [('man/man1', man_pages)],
+    'data_files'       : [('share/man/man1', man_pages)],
     'scripts'          : scripts,
     'cmdclass'         : {'install'         : install,
                           'install_lib'     : install_lib,