summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2009-08-14 01:15:27 +0100
committerDavid Wragg <dpw@lshift.net>2009-08-14 01:15:27 +0100
commit5f3ee0a97a30a9dcd06d16efcab53716b52949c8 (patch)
tree283bde303268c288e0316b693e8f37616fb41374 /packaging/debs
parentc7397e4419bce2a3c2bc58e709d703336609a42e (diff)
downloadrabbitmq-server-git-5f3ee0a97a30a9dcd06d16efcab53716b52949c8.tar.gz
Restore the LOCK_FILE support, as demanded by rpmlint
On Debian, we set the value of LOCK_FILE to the empty string, thus disabling use of a lock file. Now tested with rpmlint and lintian.
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile
index 4eb38c39fc..04fd8adab6 100644
--- a/packaging/debs/Debian/Makefile
+++ b/packaging/debs/Debian/Makefile
@@ -21,7 +21,10 @@ package: clean
tar -zxvf $(DEBIAN_ORIG_TARBALL)
cp -r debian $(UNPACKED_DIR)
cp $(COMMON_DIR)/* $(UNPACKED_DIR)/debian/
- sed -i 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/default/rabbitmq|' $(UNPACKED_DIR)/debian/rabbitmq-server.init
+ sed -i \
+ -e 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/default/rabbitmq|' \
+ -e 's|^LOCK_FILE=.*$$|LOCK_FILE=|' \
+ $(UNPACKED_DIR)/debian/rabbitmq-server.init
chmod a+x $(UNPACKED_DIR)/debian/rules
UNOFFICIAL_RELEASE=$(UNOFFICIAL_RELEASE) VERSION=$(VERSION) ./check-changelog.sh rabbitmq-server $(UNPACKED_DIR)
cd $(UNPACKED_DIR); GNUPGHOME=$(GNUPG_PATH)/.gnupg dpkg-buildpackage -rfakeroot $(SIGNING)