Ana Guerrero 2023-12-28 22:01:00 +00:00 committed by Git OBS Bridge
commit 799262e5e7
3 changed files with 32 additions and 0 deletions

23
reproducible.patch Normal file
View File

@ -0,0 +1,23 @@
Date: 2017-08-16
Author: Bernhard M. Wiedemann <bwiedemann suse de>
drop timestamp and build host name from .elc files
Index: xemacs-21.5.34/lisp/bytecomp.el
===================================================================
--- xemacs-21.5.34.orig/lisp/bytecomp.el
+++ xemacs-21.5.34/lisp/bytecomp.el
@@ -2156,11 +2156,8 @@ docstrings code.")
finally return res)))
(setq comments
(with-string-as-buffer-contents ""
- (insert "\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")
+ (insert "\n;;; compiled"
+ "\n;;; from file " filename "\n")
(insert ";;; emacs version " emacs-version ".\n")
(insert ";;; bytecomp version " byte-compile-version "\n;;; "
(cond

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 27 03:37:32 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.de>
- Add reproducible.patch to make ,elc files deterministic
(boo#1084909, boo#1047218)
-------------------------------------------------------------------
Sat Jan 14 05:04:47 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -114,6 +114,8 @@ Patch62: xemacs-libX11-boo1175028.patch
# PATCH-FIX-SUSE sys_siglist is deprecated
Patch63: xemacs-21.5.34-strsignal.patch
Patch64: xemacs-21.5.34-fix2038.patch
# PATCH-FIX-SUSE drop hostname+timestamp from .elc
Patch65: reproducible.patch
Requires(pre): permissions
Requires: ctags
Requires: efont-unicode
@ -229,6 +231,7 @@ exit 1
%endif
%endif
%patch64 -p1
%patch65 -p1
%build
cflags ()