aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2015-08-06 01:17:45 +0300
committerJani Välimaa <wally@mageia.org>2022-09-13 20:59:23 +0300
commit1ba4497eb09acd56ccad75cbd3ab815ab818f150 (patch)
tree4a95cad4928bb28d97004a86b9ec66d4651f4d4a
parentf03448976142f85cde98dd3960b9404e4b9a1f87 (diff)
downloadrpm-setup-1ba4497eb09acd56ccad75cbd3ab815ab818f150.tar
rpm-setup-1ba4497eb09acd56ccad75cbd3ab815ab818f150.tar.gz
rpm-setup-1ba4497eb09acd56ccad75cbd3ab815ab818f150.tar.bz2
rpm-setup-1ba4497eb09acd56ccad75cbd3ab815ab818f150.tar.xz
rpm-setup-1ba4497eb09acd56ccad75cbd3ab815ab818f150.zip
Sync script and tag lists with rpm 4.12.90
-rw-r--r--rpm-spec-mode.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el
index bee87ab..d0bde54 100644
--- a/rpm-spec-mode.el
+++ b/rpm-spec-mode.el
@@ -250,18 +250,23 @@ value returned by function `user-mail-address'."
(defconst rpm-scripts
'("pre" "post" "preun" "postun"
"trigger" "triggerin" "triggerprein" "triggerun" "triggerpostun"
- "pretrans" "posttrans" "verifyscript")
+ "pretrans" "posttrans" "verifyscript" "filetriggerin" "filetrigger"
+ "filetriggerun" "filetriggerpostun" "transfiletriggerin" "transfiletrigger"
+ "transfiletriggerun" "transfiletriggerun" "transfiletriggerpostun")
"List of rpm scripts.")
(defconst rpm-section-seperate "^%\\(\\w+\\)\\s-")
(defconst rpm-section-regexp
(eval-when-compile
(concat "^%"
(regexp-opt
- ;; From RPM 4.12.0 sources, file build/parseSpec.c: partList[].
+ ;; From RPM 4.12.90 sources, file build/parseSpec.c: partList[].
'("package" "prep" "build" "install" "check" "clean" "preun"
"postun" "pretrans" "posttrans" "pre" "post" "files" "changelog"
"description" "triggerpostun" "triggerprein" "triggerun"
- "triggerin" "trigger" "verifyscript" "sepolicy") t)
+ "triggerin" "trigger" "verifyscript" "sepolicy" "filetriggerin"
+ "filetrigger" "filetriggerun" "filetriggerpostun"
+ "transfiletriggerin" "transfiletrigger" "transfiletriggerun"
+ "transfiletriggerun" "transfiletriggerpostun") t)
"\\b"))
"Regular expression to match beginning of a section.")
@@ -353,7 +358,7 @@ value returned by function `user-mail-address'."
(defvar rpm-spec-nobuild-option "--nobuild" "Option for no build.")
(defvar rpm-tags-list
- ;; From RPM 4.12.0 sources, file build/parsePreamble.c: preambleList[]:
+ ;; From RPM 4.12.90 sources, file build/parsePreamble.c: preambleList[]:
'(("Name")
("Version")
("Release")
@@ -400,6 +405,7 @@ value returned by function `user-mail-address'."
("DistTag")
("BugURL")
("OrderWithRequires")
+ ("RemovePathPostFixes")
;; ...plus some from rpm5.org:
("CVSId")
("SVNId")