sbt / sbt-native-packager

sbt Native Packager
https://sbt-native-packager.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
1.59k stars 439 forks source link

RPM: prereq is deprecated #417

Open erikswanson opened 9 years ago

erikswanson commented 9 years ago

When I define prerequisites in an RPM build using the rpmPrerequisites key, I get warnings that "prereq is deprecated".

See: Scriptlet Dependencies documentation on rpm.org.

Because of a caveat documented in the link above, changing the meaning of rpmPrerequisites is a bad idea, so there should probably be some new key that supports modeling the scopes of RPM dependencies.

muuki88 commented 9 years ago

Thanks for the report. Adding this feature shouldn't be, too hard. Do you have time to give it a try?

erikswanson commented 9 years ago

I've started the pre-process internally at my employer to be able to propose patches for release/contribution to this project, but that could take a while. I'll update here if that gets approved. (Until then, I'd encourage anyone less encumbered than me to take this on.)

muuki88 commented 9 years ago

Awesome! Thanks a lot for taking these steps. We are currently all very busy, so every help counts :)

muuki88 commented 9 years ago

@erikswanson any news on this :)

erikswanson commented 9 years ago

@muuki88 It's more complicated than I expected, and unfortunately, not worth dealing with for something as small as this. :(

muuki88 commented 9 years ago

Thanks for the update. I'll leave this issue open as this should be handled at somepoint.