Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FPM always builds latest gem, irrespectful of -v option #204
I'm using fpm 0.4.6.
I'm trying to build backports version 2.3.0, but it builds 2.5.1 (latest):
fpm -s gem -t rpm -v 2.3.0 backports
Inside the rpm there's 2.5.1
rpm -qlp rubygem-backports-2.3.0-1.noarch.rpm
fpm --debug -s gem -t rpm -v 2.3.0 backports
referenced this issue
May 3, 2012
Could it be this easy?
added a commit
May 15, 2012
I tried master with "fpm -s gem -t rpm typhoeus --version 0.3.3" but got the result below. Caveat: I'm new to fpm.
I did find the workaround of "gem fetch typhoeus --version 0.3.3" then "fpm -s gem -t rpm typhoeus-0.3.3.gem" to be successful.
Could be good to have the flag handling more permissive or somehow check for this error so that newbies aren't confused but I understand if that's not a high priority.
Would you be interested in considering a pull request that improves this a little? If so do you have suggestions as to what you would or wouldn't want to see?