summaryrefslogtreecommitdiffstats
path: root/scripts/mkversion
diff options
context:
space:
mode:
authorJim Davis <jim.epost@gmail.com>2015-06-08 13:19:08 -0700
committerMichal Marek <mmarek@suse.cz>2015-06-15 16:08:05 +0200
commit21a59991ce0cd9a0b54b135305e3fcf880f2aaf1 (patch)
treef7e408c7e94ff90197f5deb4c20d315db5bd0de4 /scripts/mkversion
parenta37161c0588c0d3ff4afb08ef83106a80bde604e (diff)
downloadop-kernel-dev-21a59991ce0cd9a0b54b135305e3fcf880f2aaf1.zip
op-kernel-dev-21a59991ce0cd9a0b54b135305e3fcf880f2aaf1.tar.gz
scripts/package/Makefile: rpmbuild is needed for rpm targets
Before rpm release 4.1, in 2002, either the rpm command or the rpmbuild command could be used in the rpm-pkg or binrpm-pkg targets, and the Makefile chose the rpm command if the rpmbuild command wasn't found. After release 4.1, however, the rpm command could no longer be used in place of the rpmbuild command. As the rpmbuild command is not installed by default, this can lead to failures with the rpm-pkg and binrpm-pkg targets: rpm --define "_builddir ." --target \ x86_64 -bb ./binkernel.spec rpm --target: unknown option scripts/package/Makefile:60: recipe for target 'binrpm-pkg' failed Change the Makefile to use rpmbuild unconditionally to avoid this. Signed-off-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud