I've create a Java JAR file successfully. I now want to package my JAR file as an RPM (RedHat Package Manager) so that I can make it installable for Linux.
我已经成功地创建了一个Java JAR文件。现在我想将JAR文件打包为RPM (RedHat包管理器),这样我就可以将它安装到Linux上。
What would be the proper way to package a single JAR file as an RPM?
将单个JAR文件打包为RPM的正确方法是什么?