File: 03_fetchmailconf_python2.6.patch

package info (click to toggle)
fetchmail 6.3.18-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 8,768 kB
  • ctags: 4,213
  • sloc: ansic: 29,321; sh: 5,566; perl: 3,180; python: 1,955; yacc: 456; makefile: 348; lex: 270; awk: 124; lisp: 84; exp: 43; sed: 16
file content (26 lines) | stat: -rw-r--r-- 1,592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: fetchmail-6.3.18/Makefile.am
===================================================================
--- fetchmail-6.3.18.orig/Makefile.am	2010-12-01 23:19:32.000000000 +0100
+++ fetchmail-6.3.18/Makefile.am	2010-12-01 23:19:58.000000000 +0100
@@ -191,7 +191,7 @@
 		Doxyfile
 
 fetchmailconf:
-	( echo '#! /bin/sh' && echo 'exec @PYTHON@ /usr/lib/`pyversions -d`/site-packages/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@ || { rm -f $@ ; exit 1; }
+	( echo '#! /bin/sh' && echo 'exec @PYTHON@ /usr/lib/`pyversions -d`/dist-packages/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@ || { rm -f $@ ; exit 1; }
 
 FAQ: fetchmail-FAQ.html $(srcdir)/dist-tools/html2txt
 	AWK=$(AWK) $(SHELL) $(srcdir)/dist-tools/html2txt $(srcdir)/fetchmail-FAQ.html >$@ || { rm -f $@ ; exit 1 ; }
Index: fetchmail-6.3.18/Makefile.in
===================================================================
--- fetchmail-6.3.18.orig/Makefile.in	2010-12-01 23:19:31.000000000 +0100
+++ fetchmail-6.3.18/Makefile.in	2010-12-01 23:19:42.000000000 +0100
@@ -1695,7 +1695,7 @@
 	$(srcdir)/specgen.sh $(VERSION) >fetchmail.spec
 
 fetchmailconf:
-	( echo '#! /bin/sh' && echo 'exec @PYTHON@ /usr/lib/`pyversions -d`/site-packages/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@ || { rm -f $@ ; exit 1; }
+	( echo '#! /bin/sh' && echo 'exec @PYTHON@ /usr/lib/`pyversions -d`/dist-packages/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@ || { rm -f $@ ; exit 1; }
 
 FAQ: fetchmail-FAQ.html $(srcdir)/dist-tools/html2txt
 	AWK=$(AWK) $(SHELL) $(srcdir)/dist-tools/html2txt $(srcdir)/fetchmail-FAQ.html >$@ || { rm -f $@ ; exit 1 ; }