mojohaus / rpm-maven-plugin

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

SPEC File does not handle file names with square brackets [test1] #120

Open JAPRESSLEY opened 4 years ago

JAPRESSLEY commented 4 years ago

Files added that have text enclosed in square brackets fail to be found. The square brackets need to escaped or replaced with * to enable the glob to match the file

Even with <directoryIncluded>true</directoryIncluded> the spec file will still add the %attr tags which will still cause the failure

example: source file in /opt/test/testing[123].txt Error message error: File not found by glob: /opt/test/testing[123].txt