From d5b20d2db7aaf3e57e7e95996474d25bf5d376f7185d947f9d14dd0458b49672 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Sep 2010 13:09:26 +0000 Subject: [PATCH] Accepting request 46709 from home:elvigia:branches:devel:tools:compiler Copy from home:elvigia:branches:devel:tools:compiler/yasm via accept of submit request 46709 revision 2. Request was accepted with message: OBS-URL: https://build.opensuse.org/request/show/46709 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/yasm?expand=0&rev=7 --- yasm-no-build-date.patch | 24 ++++++++++++++++++++++++ yasm.changes | 5 +++++ yasm.spec | 4 ++-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 yasm-no-build-date.patch diff --git a/yasm-no-build-date.patch b/yasm-no-build-date.patch new file mode 100644 index 0000000..c2d4263 --- /dev/null +++ b/yasm-no-build-date.patch @@ -0,0 +1,24 @@ +Index: frontends/tasm/tasm.c +=================================================================== +--- frontends/tasm/tasm.c.orig 2009-04-10 02:06:54.000000000 -0400 ++++ frontends/tasm/tasm.c 2010-08-30 15:50:10.471990965 -0400 +@@ -225,7 +225,6 @@ static opt_option options[] = + /* version message */ + /*@observer@*/ static const char *version_msg[] = { + PACKAGE_NAME " " PACKAGE_INTVER "." PACKAGE_BUILD, +- "Compiled on " __DATE__ ".", + "Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.", + "Run yasm --license for licensing overview and summary." + }; +Index: frontends/yasm/yasm.c +=================================================================== +--- frontends/yasm/yasm.c.orig 2009-04-10 02:06:55.000000000 -0400 ++++ frontends/yasm/yasm.c 2010-08-30 15:49:51.865829058 -0400 +@@ -214,7 +214,6 @@ static opt_option options[] = + /* version message */ + /*@observer@*/ static const char *version_msg[] = { + PACKAGE_NAME " " PACKAGE_INTVER "." PACKAGE_BUILD, +- "Compiled on " __DATE__ ".", + "Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.", + "Run yasm --license for licensing overview and summary." + }; diff --git a/yasm.changes b/yasm.changes index 730ef54..cfd1f22 100644 --- a/yasm.changes +++ b/yasm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 30 19:58:40 UTC 2010 - cristian.rodriguez@opensuse.org + +- Do not include build dates in the binaries + ------------------------------------------------------------------- Sat Jan 2 04:10:23 UTC 2010 - pth@novell.com diff --git a/yasm.spec b/yasm.spec index d290aa6..b685da3 100644 --- a/yasm.spec +++ b/yasm.spec @@ -29,7 +29,7 @@ Summary: A complete rewrite of the NASM assembler Source: yasm-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python - +Patch: yasm-no-build-date.patch %description YASM is a complete rewrite of the NASM assembler. It is designed from the ground up to allow for multiple syntaxes to be supported (e.g., @@ -62,7 +62,7 @@ Authors: %prep %setup -q - +%patch %build export CFLAGS="%{optflags}" %configure --prefix=/usr --with-gnu-ld --enable-python