File getmail-fix_paths.patch of Package getmail
--- setup.py.orig 2009-10-08 10:16:54.000000000 +0200
+++ setup.py 2009-10-08 11:56:58.000000000 +0200
@@ -35,19 +35,8 @@
# hack hack hack hack hack hack hack
datadir = args[pos + 1]
-GETMAILDOCDIR = os.path.join(
- datadir or prefix,
- 'share',
- 'doc',
- 'getmail-%s' % __version__
-)
-
-GETMAILMANDIR = os.path.join(
- datadir or prefix,
- 'share',
- 'man',
- 'man1'
-)
+GETMAILDOCDIR = '@@DOCDIR@@'
+GETMAILMANDIR = os.path.join('@@MANDIR@@', 'man1')
if '--show-default-install-dirs' in args:
print 'Default installation directories:'
@@ -100,7 +89,6 @@
data_files=[
(GETMAILDOCDIR, [
'./README',
- './getmail.spec',
'docs/BUGS',
'docs/COPYING',
'docs/CHANGELOG',