Issue
I would like to deliver a jar to the classpath of our yarn cluster and rpm is a requirement.
What is the easiest way to build rpm that will put jar file Foo
in path Bar
?
I hope there is some one-liner to do this. I've tried researching "rpm-building" topic but it seems pretty complicated.
Solution
Simplest possible solution using fpm:
mkdir -p var/lib/xxx
touch var/lib/xxx/yyy
fpm -s dir -t rpm -n yyy var/lib/xxx/yyy
Answered By - Krever Answer Checked By - Senaida (WPSolving Volunteer)