From ac0818fe949b7345c92450bf47aeebef9789ff92d175f79d19b998991f337415 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 10 Sep 2010 13:00:11 +0000 Subject: [PATCH] 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 --- nasm.changes | 6 ++++++ nasm.spec | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/nasm.changes b/nasm.changes index e78c4f3..6d6f05e 100644 --- a/nasm.changes +++ b/nasm.changes @@ -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 diff --git a/nasm.spec b/nasm.spec index 6a866a4..ac36b1a 100644 --- a/nasm.spec +++ b/nasm.spec @@ -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 %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