Do not add timestamps to .elc files (#1122157)
This commit is contained in:
parent
2ec330eae4
commit
512b41cdf5
17
emacs-compiled-timestamps.patch
Normal file
17
emacs-compiled-timestamps.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
|
||||||
|
index ce3a332..749ec66 100644
|
||||||
|
--- a/lisp/emacs-lisp/bytecomp.el
|
||||||
|
+++ b/lisp/emacs-lisp/bytecomp.el
|
||||||
|
@@ -1981,11 +1981,7 @@ Call from the source buffer."
|
||||||
|
;; >4 byte x version %d
|
||||||
|
(insert
|
||||||
|
";ELC" 23 "\000\000\000\n"
|
||||||
|
- ";;; Compiled by "
|
||||||
|
- (or (and (boundp 'user-mail-address) user-mail-address)
|
||||||
|
- (concat (user-login-name) "@" (system-name)))
|
||||||
|
- " on " (current-time-string) "\n"
|
||||||
|
- ";;; from file " filename "\n"
|
||||||
|
+ ";;; Compiled\n"
|
||||||
|
";;; in Emacs version " emacs-version "\n"
|
||||||
|
";;; with"
|
||||||
|
(cond
|
@ -3,7 +3,7 @@ Summary: GNU Emacs text editor
|
|||||||
Name: emacs
|
Name: emacs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 24.3
|
Version: 24.3
|
||||||
Release: 18%{?dist}
|
Release: 19%{?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
|
||||||
@ -40,6 +40,7 @@ Patch18: emacs-CVE-2014-3421.patch
|
|||||||
Patch19: emacs-CVE-2014-3422.patch
|
Patch19: emacs-CVE-2014-3422.patch
|
||||||
Patch20: emacs-CVE-2014-3423.patch
|
Patch20: emacs-CVE-2014-3423.patch
|
||||||
Patch21: emacs-CVE-2014-3424.patch
|
Patch21: emacs-CVE-2014-3424.patch
|
||||||
|
Patch22: emacs-compiled-timestamps.patch
|
||||||
|
|
||||||
BuildRequires: atk-devel cairo-devel freetype-devel fontconfig-devel dbus-devel giflib-devel glibc-devel libpng-devel
|
BuildRequires: atk-devel cairo-devel freetype-devel fontconfig-devel dbus-devel giflib-devel glibc-devel libpng-devel
|
||||||
BuildRequires: libjpeg-devel libtiff-devel libX11-devel libXau-devel libXdmcp-devel libXrender-devel libXt-devel
|
BuildRequires: libjpeg-devel libtiff-devel libX11-devel libXau-devel libXdmcp-devel libXrender-devel libXt-devel
|
||||||
@ -188,6 +189,7 @@ packages that add functionality to Emacs.
|
|||||||
%patch19 -p1 -b .CVE-2014-3422.patch
|
%patch19 -p1 -b .CVE-2014-3422.patch
|
||||||
%patch20 -p1 -b .CVE-2014-3423.patch
|
%patch20 -p1 -b .CVE-2014-3423.patch
|
||||||
%patch21 -p1 -b .CVE-2014-3424.patch
|
%patch21 -p1 -b .CVE-2014-3424.patch
|
||||||
|
%patch22 -p1 -b .compiled-timestamps
|
||||||
|
|
||||||
# We prefer our emacs.desktop file
|
# We prefer our emacs.desktop file
|
||||||
cp %SOURCE1 etc/emacs.desktop
|
cp %SOURCE1 etc/emacs.desktop
|
||||||
@ -470,6 +472,9 @@ update-desktop-database &> /dev/null || :
|
|||||||
%dir %{_datadir}/emacs/site-lisp/site-start.d
|
%dir %{_datadir}/emacs/site-lisp/site-start.d
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 28 2014 Petr Hracek <phracek@redhat.com> - 1:24.3-19
|
||||||
|
- Add patch to remove timstamp from .elc files (#1122157)
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:24.3-18
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:24.3-18
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user