Custom gradle task for rpmbuild

后端 未结 3 1388
南笙
南笙 2021-01-22 11:18

We\'re currently in the process of moving away from scons to gradle to build the java portions of our software. One thing we need is to build rpm from the spec file. So we tried

相关标签:
3条回答
  • 2021-01-22 11:46

    Thanks Joern, I got it working by split the arguments '--define blah' into separate arguments and remove any white spaces and it seems to work just fine.

    0 讨论(0)
  • 2021-01-22 11:50

    in spec file, have you tried to replace BuildArchitectures with BuildArch, maybe a typo? ref. https://fedoraproject.org/wiki/How_to_create_an_RPM_package#SPEC_file_overview

    rpmbuild -vv gives debug.

    kind regards

    0 讨论(0)
  • 2021-01-22 12:09

    You can try the SetupBuilder plugin. It build also an rpm installer.

    0 讨论(0)
提交回复
热议问题