diff options
author | David Wragg <dpw@lshift.net> | 2009-08-14 01:15:27 +0100 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2009-08-14 01:15:27 +0100 |
commit | 8743de3e0c45794d7253933325c251ae61eb793f (patch) | |
tree | 283bde303268c288e0316b693e8f37616fb41374 /packaging/RPMS | |
parent | 280790b6016e14612ae83125882978e6a1b48c37 (diff) | |
download | rabbitmq-server-8743de3e0c45794d7253933325c251ae61eb793f.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/RPMS')
-rw-r--r-- | packaging/RPMS/Fedora/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/RPMS/Fedora/Makefile b/packaging/RPMS/Fedora/Makefile index 059acd9f..74760e51 100644 --- a/packaging/RPMS/Fedora/Makefile +++ b/packaging/RPMS/Fedora/Makefile @@ -29,7 +29,10 @@ prepare: SPECS/rabbitmq-server.spec cp ${COMMON_DIR}/* SOURCES/ - sed -i 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/sysconfig/rabbitmq|' SOURCES/rabbitmq-server.init + sed -i \ + -e 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/sysconfig/rabbitmq|' \ + -e 's|^LOCK_FILE=.*$$|LOCK_FILE=/var/lock/subsys/$$NAME|' \ + SOURCES/rabbitmq-server.init cp rabbitmq-server.logrotate SOURCES/rabbitmq-server.logrotate server: prepare |