Accepting request 47570 from devel:tools:compiler

Copy from devel:tools:compiler/nasm based on submit request 47570 from user coolo

OBS-URL: https://build.opensuse.org/request/show/47570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=16
This commit is contained in:
OBS User autobuild 2010-09-10 13:00:11 +00:00 committed by Git OBS Bridge
parent 099644838d
commit ac0818fe94
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 30 22:49:25 UTC 2010 - cristian.rodriguez@opensuse.org
- use __TIMESTAMP__ instead of __DATE__ to make build-compare
happy.
-------------------------------------------------------------------
Mon Mar 1 15:29:01 CET 2010 - ro@suse.de

View File

@ -25,7 +25,7 @@ License: BSD 2-clause
Group: Development/Languages/Other
AutoReqProv: on
Version: 2.07
Release: 1
Release: 6
Summary: Netwide Assembler (An x86 Assembler)
Source: nasm-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -108,8 +108,10 @@ Authors:
Chuck Crayne <ccrayne@users.sourceforge.net>
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir}
touch -r ./ver.c ./ver.c.stamp
sed -i -e s@__DATE__@__TIMESTAMP__@ ./ver.c
touch -r ./ver.c.stamp ./ver.c
%configure
make %{?jobs:-j%jobs} all doc
%install