update rpm-spec-mode to latest upstream version (#524851)
This commit is contained in:
parent
d63f2b2d7d
commit
1f15d928ee
@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
|
|||||||
Name: emacs
|
Name: emacs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 23.1
|
Version: 23.1
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/emacs/
|
URL: http://www.gnu.org/software/emacs/
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
@ -375,6 +375,9 @@ alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \
|
|||||||
%dir %{_datadir}/emacs/%{version}
|
%dir %{_datadir}/emacs/%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 23 2009 Daniel Novotny <dnovotny@redhat.com> 1:23.1-8
|
||||||
|
- updated rpm-spec-mode.el to latest upstream version (#524851)
|
||||||
|
|
||||||
* Tue Sep 22 2009 Daniel Novotny <dnovotny@redhat.com> 1:23.1-7
|
* Tue Sep 22 2009 Daniel Novotny <dnovotny@redhat.com> 1:23.1-7
|
||||||
- updated %%info_files (#510750)
|
- updated %%info_files (#510750)
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(defconst rpm-spec-mode-version "0.12.1x" "Version of `rpm-spec-mode'.")
|
(defconst rpm-spec-mode-version "0.12.3x" "Version of `rpm-spec-mode'.")
|
||||||
|
|
||||||
(defgroup rpm-spec nil
|
(defgroup rpm-spec nil
|
||||||
"RPM spec mode with Emacs/XEmacs enhancements."
|
"RPM spec mode with Emacs/XEmacs enhancements."
|
||||||
@ -252,7 +252,7 @@ value returned by function `user-mail-address'."
|
|||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(concat "^%"
|
(concat "^%"
|
||||||
(regexp-opt
|
(regexp-opt
|
||||||
;; From RPM 4.4.9 sources, file build/parseSpec.c: partList[].
|
;; From RPM 4.6.0 sources, file build/parseSpec.c: partList[].
|
||||||
'("build" "changelog" "check" "clean" "description" "files"
|
'("build" "changelog" "check" "clean" "description" "files"
|
||||||
"install" "package" "post" "postun" "pretrans" "posttrans"
|
"install" "package" "post" "postun" "pretrans" "posttrans"
|
||||||
"pre" "prep" "preun" "trigger" "triggerin" "triggerpostun"
|
"pre" "prep" "preun" "trigger" "triggerin" "triggerpostun"
|
||||||
@ -602,7 +602,7 @@ value returned by function `user-mail-address'."
|
|||||||
'(1 'rpm-spec-tag-face))
|
'(1 'rpm-spec-tag-face))
|
||||||
'("%\\(de\\(fine\\|scription\\)\\|files\\|global\\|package\\)[ \t]+\\([^-][^ \t\n]*\\)"
|
'("%\\(de\\(fine\\|scription\\)\\|files\\|global\\|package\\)[ \t]+\\([^-][^ \t\n]*\\)"
|
||||||
(3 rpm-spec-package-face))
|
(3 rpm-spec-package-face))
|
||||||
'("%p\\(ost\\|re\\)\\(un\\)?[ \t]+\\([^-][^ \t\n]*\\)"
|
'("%p\\(ost\\|re\\)\\(un\\|trans\\)?[ \t]+\\([^-][^ \t\n]*\\)"
|
||||||
(3 rpm-spec-package-face))
|
(3 rpm-spec-package-face))
|
||||||
'("%configure " 0 rpm-spec-macro-face)
|
'("%configure " 0 rpm-spec-macro-face)
|
||||||
'("%dir[ \t]+\\([^ \t\n]+\\)[ \t]*" 1 rpm-spec-dir-face)
|
'("%dir[ \t]+\\([^ \t\n]+\\)[ \t]*" 1 rpm-spec-dir-face)
|
||||||
@ -1255,8 +1255,8 @@ See `search-forward-regexp'."
|
|||||||
(let ((str
|
(let ((str
|
||||||
(progn
|
(progn
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(search-forward-regexp (concat "^"
|
(search-forward-regexp
|
||||||
field ":[ \t]*\\(.*?\\)[ \t]*$") max)
|
(concat "^" field ":[ \t]*\\(.*?\\)[ \t]*$") max)
|
||||||
(match-string 1))))
|
(match-string 1))))
|
||||||
;; Try to expand macros
|
;; Try to expand macros
|
||||||
(if (string-match "\\(%{?\\(\\?\\)?\\)\\([a-zA-Z0-9_]*\\)\\(}?\\)" str)
|
(if (string-match "\\(%{?\\(\\?\\)?\\)\\([a-zA-Z0-9_]*\\)\\(}?\\)" str)
|
||||||
@ -1299,7 +1299,7 @@ if one is present in the file."
|
|||||||
(let ((str
|
(let ((str
|
||||||
(progn
|
(progn
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(search-forward-regexp (concat "Release[ \t]*:[ \t]*\\(.+\\).*$") nil)
|
(search-forward-regexp "^Release[ \t]*:[ \t]*\\(.+\\).*$" nil)
|
||||||
(match-string 1))))
|
(match-string 1))))
|
||||||
(let ((inrel
|
(let ((inrel
|
||||||
(if (string-match "%{?\\([^}]*\\)}?$" str)
|
(if (string-match "%{?\\([^}]*\\)}?$" str)
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
-(defconst rpm-spec-mode-version "0.12.1x" "Version of `rpm-spec-mode'.")
|
-(defconst rpm-spec-mode-version "0.12.3x" "Version of `rpm-spec-mode'.")
|
||||||
+(require 'compile)
|
+(require 'compile)
|
||||||
+
|
+
|
||||||
+(defconst rpm-spec-mode-version "0.12.1x.rh1" "Version of `rpm-spec-mode'.")
|
+(defconst rpm-spec-mode-version "0.12.3x.rh1" "Version of `rpm-spec-mode'.")
|
||||||
|
|
||||||
(defgroup rpm-spec nil
|
(defgroup rpm-spec nil
|
||||||
"RPM spec mode with Emacs/XEmacs enhancements."
|
"RPM spec mode with Emacs/XEmacs enhancements."
|
||||||
|
Loading…
Reference in New Issue
Block a user