mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

allow rpmbuild executable path to be specified by a property #52

Closed ke5stl closed 8 years ago

ke5stl commented 8 years ago

on apple's mac OS X, it appears that the shell is unable to find the rpmbuild on the path. something about how the /bin/sh is started - it doesn't seem to inherit the user's path configuration.

I am proposing a way to allow one to set a property which can point to the rpmbuild directly/fully.

it has multiple benefits:

a) to allow this plugin to be used on OS X b) allow one to point directly at the particular version of rpmbuild that is required to be used (should there be multiple versions of rpmbuild available).

dantran commented 8 years ago

I am interested to understand why default execuable path not working for you first and we should fix it there first

ke5stl commented 8 years ago

ok. I figured out how to mess with the path settings on mac, so that the rpmbuild is now able to be found, so that this change is no longer needed.