Bug 1284290 - rpm file triggers syntax does not accept --priority
Summary: rpm file triggers syntax does not accept --priority
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-22 22:54 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2015-11-25 09:48 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-25 09:48:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2015-11-22 22:54:36 UTC
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):
rpm-4.13.0-0.rc1.6.fc23.x86_64

Comment 1 Ľuboš Kardoš 2015-11-25 09:48:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.