From fb0ed6abb34f9b1b4d140dad0606da76eb6c2ad7 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 7 Jan 2005 22:51:14 +0000 Subject: [PATCH] finish packaging git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-13 --- debian/patches/10.correct_spool_path.patch | 11 +++++++++++ debian/rules | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 debian/patches/10.correct_spool_path.patch diff --git a/debian/patches/10.correct_spool_path.patch b/debian/patches/10.correct_spool_path.patch new file mode 100644 index 0000000..c8999c8 --- /dev/null +++ b/debian/patches/10.correct_spool_path.patch @@ -0,0 +1,11 @@ +--- /home/x2000habouzit/dev/banana/banana/spool.inc.php 2005-01-07 23:47:41.000000000 +0100 ++++ banana/spool.inc.php 2005-01-07 23:46:58.000000000 +0100 +@@ -150,7 +150,7 @@ + global $banana; + $url = parse_url($banana->host); + $file = $url['host'].'_'.$url['port'].'_'.$this->group; +- return dirname(dirname(__FILE__)).'/spool/'.$file; ++ return "/var/spool/banana/$file"; + } + + function _updateSpool($arg) diff --git a/debian/rules b/debian/rules index 8ee2817..12c34e9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# configure simple-patchsys +DEB_PATCHDIRS := debian/patches # documentation DEB_INSTALL_DOCS_ALL := -- 2.1.4