CVS update by scop packages/xemacs-packages/prog-modes, rpm-spec-mode.el ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Tue May 8 18:25:51 EDT 2007


  User: scop    
  Date: 07/05/09 00:25:51

  Modified:    packages/xemacs-packages/prog-modes ChangeLog
                        rpm-spec-mode.el
Log:
Sync tag, script and section lists with rpm 4.4.9.

Revision  Changes    Path
1.245     +3 -0      XEmacs/packages/xemacs-packages/prog-modes/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/prog-modes/ChangeLog,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -p -r1.244 -r1.245
--- ChangeLog	2007/05/08 22:23:19	1.244
+++ ChangeLog	2007/05/08 22:25:49	1.245
@@ -2,6 +2,9 @@
 
 	* rpm-spec-mode.el: Update FSF's address in comments.
 	(rpm-spec-mode-version): 0.12x.
+	(rpm-tags-list): Sync with rpm 4.4.9.
+	(rpm-section-regexp): Ditto.
+	(rpm-scripts): Ditto.
 
 2007-02-07  Norbert Koch  <viteno at xemacs.org>
 



1.20      +21 -8     XEmacs/packages/xemacs-packages/prog-modes/rpm-spec-mode.el

Index: rpm-spec-mode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/prog-modes/rpm-spec-mode.el,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- rpm-spec-mode.el	2007/05/08 22:23:19	1.19
+++ rpm-spec-mode.el	2007/05/08 22:25:50	1.20
@@ -244,18 +244,19 @@ value returned by function `user-mail-ad
   "Partial list of section names.")
 (defconst rpm-scripts
   '("pre" "post" "preun" "postun"
-    "trigger" "triggerin" "triggerun" "triggerpostun")
+    "trigger" "triggerin" "triggerprein" "triggerun" "triggerpostun"
+    "pretrans" "posttrans")
   "List of rpm scripts.")
 (defconst rpm-section-seperate "^%\\(\\w+\\)\\s-")
 (defconst rpm-section-regexp
   (eval-when-compile
     (concat "^%"
             (regexp-opt
-             ;; From RPM 4.4.1 sources, file build/parseSpec.c: partList[].
+             ;; From RPM 4.4.9 sources, file build/parseSpec.c: partList[].
              '("build" "changelog" "check" "clean" "description" "files"
                "install" "package" "post" "postun" "pretrans" "posttrans"
                "pre" "prep" "preun" "trigger" "triggerin" "triggerpostun"
-               "triggerun" "verifyscript") t)
+               "triggerprein" "triggerun" "verifyscript") t)
             "\\b"))
   "Regular expression to match beginning of a section.")
 
@@ -340,7 +341,7 @@ value returned by function `user-mail-ad
 (defvar rpm-spec-nobuild-option "--nobuild" "Option for no build.")
 
 (defvar rpm-tags-list
-  ;; From RPM 4.4.1 sources, file build/parsePreamble.c: preambleList[], and
+  ;; From RPM 4.4.9 sources, file build/parsePreamble.c: preambleList[], and
   ;; a few macros that aren't tags, but useful here.
   '(("AutoProv")
     ("AutoReq")
@@ -348,16 +349,20 @@ value returned by function `user-mail-ad
     ("BuildArch")
     ("BuildArchitectures")
     ("BuildConflicts")
+    ("BuildEnhances")
+    ("BuildPlatforms")
     ("BuildPreReq")
     ("BuildRequires")
     ("BuildRoot")
+    ("BuildSuggests")
     ("Conflicts")
-    ("Copyright")
+    ("CVSId")
     ("%description")
     ("Distribution")
     ("DistTag")
     ("DistURL")
     ("DocDir")
+    ("Enhances")
     ("Epoch")
     ("ExcludeArch")
     ("ExcludeOS")
@@ -367,6 +372,8 @@ value returned by function `user-mail-ad
     ("Group")
     ("Icon")
     ("%ifarch")
+    ("Keyword")
+    ("Keywords")
     ("License")
     ("Name")
     ("NoPatch")
@@ -381,13 +388,19 @@ value returned by function `user-mail-ad
     ("Provides")
     ("Release")
     ("Requires")
-    ("RHNPlatform")
-    ("Serial")
+    ("RepoTag")
     ("Source")
+    ("Suggests")
     ("Summary")
+    ("SVNId")
     ("URL")
+    ("Variant")
+    ("Variants")
     ("Vendor")
-    ("Version"))
+    ("Version")
+    ("XMajor")
+    ("XMinor")
+    )
   "List of elements that are valid tags.")
 
 (defvar rpm-group-tags-list





More information about the XEmacs-CVS mailing list