Accepting request 453401 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/453401 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mawk?expand=0&rev=17
This commit is contained in:
commit
6d29c5ce1d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 04:57:42 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
- Add reproducible.patch to allow for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 23:13:17 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mawk
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 Guido Berhoerster.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -29,6 +29,8 @@ Url: http://invisible-island.net/mawk/mawk.html
|
||||
Source0: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz
|
||||
Source1: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc
|
||||
Source2: %{name}.keyring
|
||||
# PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare
|
||||
Patch0: reproducible.patch
|
||||
BuildRequires: update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
@ -43,6 +45,7 @@ provides a small number of extensions.
|
||||
|
||||
%prep
|
||||
%setup -q -n mawk-%{_upver}-%{_datever}
|
||||
%patch0 -p1
|
||||
chmod 755 examples/*
|
||||
|
||||
%build
|
||||
|
13
reproducible.patch
Normal file
13
reproducible.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: mawk-1.3.4-20150503/makescan.c
|
||||
===================================================================
|
||||
--- mawk-1.3.4-20150503.orig/makescan.c
|
||||
+++ mawk-1.3.4-20150503/makescan.c
|
||||
@@ -96,7 +96,7 @@ scan_print(void)
|
||||
register int r; /* row */
|
||||
|
||||
printf("/*\n * %cMawkId%c\n * generated by makescan.c\n * date: %s */\n",
|
||||
- '$', '$', ctime(&now));
|
||||
+ '$', '$', "Sun Jan 1 00:00:01 2017");
|
||||
printf("#include \"scancode.h\"\n");
|
||||
printf("/* *INDENT-OFF* */\n");
|
||||
printf("char scan_code[256] = {\n");
|
Loading…
Reference in New Issue
Block a user