mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

Automatic requires #71

Open chocard opened 7 years ago

chocard commented 7 years ago

Hi,

It's possible to disable the requires added automatically into the spec file ? In my directory, I have some batch files (.bash, .csh, .ksh, etc ...). I specify nothing in my pom.xml and after the rpm creation, the rpm has some requires:

rpm -qpR target/rpm/test/RPMS/x86_64/test.x86_64.rpm /bin/bash /bin/bsh /bin/csh /bin/ksh /bin/sh /bin/sh /bin/tcsh ...

It's possible to specify all the requires manually ?

Regards, chocard

chocard commented 7 years ago

I find the solution with

rgoers commented 7 years ago

What was your solution? I am getting requires for things that aren't specified anywhere and I need to disable it.

chocard commented 7 years ago

i use: autoRequires with false value