Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

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

Open
JAPRESSLEY opened this issue Mar 20, 2020 · 0 comments
Open

Comments

@JAPRESSLEY
Copy link

JAPRESSLEY commented Mar 20, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant