scons/scons-3.0.0-fix-install.patch
Tomáš Chvátal 3a0d7f1915 Accepting request 640345 from home:mcepl:work
- Block failing tests (and block %check section completely on
  non-Intel archs, as the tests are apparently not designed for
  that).
- FIx patches from the upstream to improve compatbiilty:
    fix-jN-for-python-37.patch
    fix-rpm-tests-for-newer-rpmbuild.patch
    no_deprecated_asserts.patch
    no_time-clock.patch
    removed_splitunc.patch
    replace_TestSuite_main.patch
    stop_custom_OrderedDict.patch

OBS-URL: https://build.opensuse.org/request/show/640345
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/scons?expand=0&rev=62
2018-10-07 12:11:44 +00:00

25 lines
981 B
Diff

---
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,