Accepting request 47050 from devel:tools:compiler

Copy from devel:tools:compiler/yasm based on submit request 47050 from user coolo

OBS-URL: https://build.opensuse.org/request/show/47050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yasm?expand=0&rev=12
This commit is contained in:
OBS User autobuild 2010-09-03 14:43:59 +00:00 committed by Git OBS Bridge
commit 946a5b1d87
3 changed files with 32 additions and 1 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

@ -24,11 +24,12 @@ License: BSD3c
Group: Development/Languages/Other
AutoReqProv: on
Version: 0.8.0
Release: 1
Release: 6
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
@ -62,6 +63,7 @@ Authors:
%prep
%setup -q
%patch
%build
export CFLAGS="%{optflags}"