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
This commit is contained in:
Stephan Kulow 2010-09-03 13:09:26 +00:00 committed by Git OBS Bridge
parent d97d0078a9
commit d5b20d2db7
3 changed files with 31 additions and 2 deletions

24
yasm-no-build-date.patch Normal file
View File

@ -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."
};

View File

@ -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

View File

@ -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