What is the minimum I have to do to create an RPM file?

前端 未结 9 1486
误落风尘
误落风尘 2020-12-04 04:20

I just want to create an RPM file to distribute my Linux binary \"foobar\", with only a couple of dependencies. It has a config file, /etc/foobar.conf and should be installe

9条回答
  •  心在旅途
    2020-12-04 05:13

    If you are familiar with Maven there also rpm-maven-plugin which simplifies making RPMs: you have to write only pom.xml which will be then used to build RPM. RPM build environment is created implicitly by the plugin.

提交回复
热议问题