Red Hat Bugzilla – Bug 1284290
rpm file triggers syntax does not accept --priority
Last modified: 2015-11-25 04:48:12 EST
Description of problem:
http://www.rpm.org/wiki/FileTriggers says "FILE_TRIGGER_OPTIONS are the same as options for other rpm scriptlets except for option -P/--priority". "-P XXX" works, but neither --priority=XXX nor --priority XXX do. Using -P is a good enough solution, but anyone trying this is likely to waste time trying to figure out the syntax.
error: line 153: Dependency tokens must begin with alpha-numeric, '_' or '/'
Version-Release number of selected component (if applicable):
The long option --priority doens't work because of the way how the parser parses trigger definitions, everything after "--" is considered to be a trigger target. I removed mention of option "--priority" from http://www.rpm.org/wiki/FileTriggers in order not to confuse anybody.