scripts/package: allow custom options to rpm
authorJeremy Kerr <jk@ozlabs.org>
Mon, 1 Dec 2008 22:21:03 +0000 (14:21 -0800)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 3 Dec 2008 21:35:06 +0000 (22:35 +0100)
commitc39dd50240b97bfe4fcc49b41e1fe56675afcb94
treecbd978c91c0a43710632afc7caa3bd3dcf260e6a
parent5dae9a550a7478c8d6a7da2336d3ceeebf90ab84
scripts/package: allow custom options to rpm

Add a RPMOPTS make variable to allow arbitrary options to be passed
to rpm during 'make rpm-pkg'. For example:

 make RPMOPTS="--define '_topdir /home/jk/rpm'" rpm-pkg

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/Makefile