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