From 829c0027fb6fbd47c2fe5531055e33aa4ae0832c43d11e2f293323ebd83a440f Mon Sep 17 00:00:00 2001 From: Fuminobu Takeyama Date: Sat, 12 Aug 2017 06:55:31 +0000 Subject: [PATCH] Accepting request 516257 from home:bmwiedemann:branches:M17N Add ddskk-drop-build-date.patch to fix build-compare (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/516257 OBS-URL: https://build.opensuse.org/package/show/M17N/ddskk?expand=0&rev=20 --- ddskk-drop-build-date.patch | 27 +++++++++++++++++++++++++++ ddskk.changes | 5 +++++ ddskk.spec | 3 +++ 3 files changed, 35 insertions(+) create mode 100644 ddskk-drop-build-date.patch diff --git a/ddskk-drop-build-date.patch b/ddskk-drop-build-date.patch new file mode 100644 index 0000000..0af4250 --- /dev/null +++ b/ddskk-drop-build-date.patch @@ -0,0 +1,27 @@ +http://bugzilla.suse.com/show_bug.cgi?id=1047218 + + +Index: ddskk-20150816/SKK-MK +=================================================================== +--- ddskk-20150816.orig/SKK-MK ++++ ddskk-20150816/SKK-MK +@@ -427,8 +427,7 @@ This version of SKK requires MULE featur + (point)))) + (when (search-forward ";;; skk-setup.el --- initial setup for SKK") + (forward-line 1) +- (insert ";; This file was generated automatically by SKK-MK at " +- (current-time-string) ++ (insert ";; This file was generated automatically by SKK-MK " + "\n")) + (while spec + (goto-char (point-min)) +@@ -911,8 +910,7 @@ SKK tutorials: + (insert "\ + ;;; skk-autoloads.el --- autoload settings for SKK -*- coding: iso-2022-jp -*- + +-;; This file was generated automatically by SKK-MK at " +- (current-time-string) ++;; This file was generated automatically by SKK-MK " + ". + + ;; This file is part of Daredevil SKK. diff --git a/ddskk.changes b/ddskk.changes index 5b71096..d675163 100644 --- a/ddskk.changes +++ b/ddskk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 12 06:12:08 UTC 2017 - bwiedemann@suse.com + +- Add ddskk-drop-build-date.patch to fix build-compare (boo#1047218) + ------------------------------------------------------------------- Fri Aug 21 15:43:04 UTC 2015 - i@marguerite.su diff --git a/ddskk.spec b/ddskk.spec index 67564bb..3ac21d2 100644 --- a/ddskk.spec +++ b/ddskk.spec @@ -34,6 +34,8 @@ Source99: ddskk-rpmlintrc Source100: skkdic-20150821.tar.xz Source200: SKK-JISYO.wiki.20150326.bz2 Patch2: bugzilla-141756-workaround.patch +# PATCH-FIX-OPENSUSE or UPSTREAM -- drop build date to make build reproducible +Patch3: ddskk-drop-build-date.patch BuildRequires: compface BuildRequires: emacs-x11 BuildRequires: flim @@ -96,6 +98,7 @@ optional, additional dictionaries for SKK %prep %setup -q %patch2 -p1 +%patch3 -p1 tar --strip-components=1 --xz -xf %{S:100} -C dic pushd dic ln -sf zipcode/SKK-JISYO.* .