From b2cd9e515cea30de461d06dfd2d205f072bcb4d8 Mon Sep 17 00:00:00 2001 From: Daniel Novotny Date: Thu, 11 Jun 2009 09:45:20 +0000 Subject: [PATCH] fix bz#505083 --- emacs.spec | 5 ++++- rpm-spec-mode-utc.patch | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/emacs.spec b/emacs.spec index 4711780..c6b096c 100644 --- a/emacs.spec +++ b/emacs.spec @@ -4,7 +4,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 23.0.93 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -367,6 +367,9 @@ alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \ %dir %{_datadir}/emacs/%{version} %changelog +* Thu Jun 11 2009 Daniel Novotny 1:23.0.93-2 +- fix bz#505083 - rpm-add-change-log-entry date format rejected by rpmbuild + * Mon May 18 2009 Daniel Novotny 1:23.0.93-1 - new upstream version diff --git a/rpm-spec-mode-utc.patch b/rpm-spec-mode-utc.patch index aad8329..55347df 100644 --- a/rpm-spec-mode-utc.patch +++ b/rpm-spec-mode-utc.patch @@ -1,6 +1,6 @@ ---- rpm-spec-mode.el.~1~ -+++ rpm-spec-mode.el -@@ -708,6 +708,17 @@ with no args, if that value is non-nil." +--- rpm-spec-mode.el~ 2009-06-11 11:01:53.000000000 +0200 ++++ rpm-spec-mode.el 2009-06-11 11:05:24.000000000 +0200 +@@ -708,6 +708,17 @@ ;;------------------------------------------------------------ @@ -18,12 +18,13 @@ (defun rpm-add-change-log-entry (&optional change-log-entry) "Find change log and add an entry for today." (interactive "sChange log entry: ") -@@ -715,8 +726,7 @@ with no args, if that value is non-nil." +@@ -715,8 +726,8 @@ (rpm-goto-section "changelog") (let* ((address (rpm-spec-user-mail-address)) (fullname (or rpm-spec-user-full-name (user-full-name))) - (string (concat "* " (substring (current-time-string) 0 11) - (substring (current-time-string) -4) " " ++ (system-time-locale "C") + (string (concat "* " (rpm-change-log-date-string) " " fullname " <" address ">" (and rpm-spec-insert-changelog-version