Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nasm for openSUSE:Factory checked in 
at 2022-12-17 20:36:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nasm (Old)
 and      /work/SRC/openSUSE:Factory/.nasm.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nasm"

Sat Dec 17 20:36:16 2022 rev:43 rq:1043329 version:2.15.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/nasm/nasm.changes        2020-10-26 
16:10:11.990599528 +0100
+++ /work/SRC/openSUSE:Factory/.nasm.new.1835/nasm.changes      2022-12-17 
20:36:36.192624106 +0100
@@ -1,0 +2,5 @@
+Fri Dec 16 12:36:14 UTC 2022 - Dirk Müller <dmuel...@suse.com>
+
+- add reproducible.patch to avoid use of __DATE__
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nasm.spec ++++++
--- /var/tmp/diff_new_pack.q9rEZs/_old  2022-12-17 20:36:36.640626567 +0100
+++ /var/tmp/diff_new_pack.q9rEZs/_new  2022-12-17 20:36:36.644626589 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nasm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,8 @@
 License:        BSD-2-Clause
 Group:          Development/Languages/Other
 URL:            https://www.nasm.us/
-Source:         
http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.xz
+Source:         
https://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.xz
+Patch0:         reproducible.patch
 BuildRequires:  fdupes
 
 %description
@@ -31,7 +32,7 @@
 several binary formats, including ELF, a.out, Win32, and OS/2.
 
 %prep
-%autosetup
+%autosetup -p0
 
 %build
 %configure \

++++++ reproducible.patch ++++++
Index: disasm/ndisasm.c
===================================================================
--- disasm/ndisasm.c.orig
+++ disasm/ndisasm.c
@@ -120,8 +120,8 @@ int main(int argc, char **argv)
                 case 'r':
                 case 'v':
                     fprintf(stderr,
-                            "NDISASM version %s compiled on %s\n",
-                           nasm_version, nasm_date);
+                            "NDISASM version %s\n",
+                           nasm_version);
                     return 0;
                 case 'u':      /* -u for -b 32, -uu for -b 64 */
                    if (bits < 64)
Index: include/ver.h
===================================================================
--- include/ver.h.orig
+++ include/ver.h
@@ -41,7 +41,6 @@
 #include "compiler.h"
 
 extern const char nasm_version[];
-extern const char nasm_date[];
 extern const char nasm_compile_options[];
 
 extern bool reproducible;
Index: nasmlib/ver.c
===================================================================
--- nasmlib/ver.c.orig
+++ nasmlib/ver.c
@@ -36,7 +36,6 @@
 
 /* This is printed when entering nasm -v */
 const char nasm_version[] = NASM_VER;
-const char nasm_date[] = __DATE__;
 const char nasm_compile_options[] = ""
 #ifdef DEBUG
     " with -DDEBUG"
Index: asm/nasm.c
===================================================================
--- asm/nasm.c.orig
+++ asm/nasm.c
@@ -977,8 +977,8 @@ static const struct textargs textopts[]
 
 static void show_version(void)
 {
-    printf("NASM version %s compiled on %s%s\n",
-           nasm_version, nasm_date, nasm_compile_options);
+    printf("NASM version %s compiled on %s\n",
+           nasm_version, nasm_compile_options);
     exit(0);
 }
 

Reply via email to