Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package giflib for openSUSE:Factory checked 
in at 2022-12-14 14:10:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/giflib (Old)
 and      /work/SRC/openSUSE:Factory/.giflib.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "giflib"

Wed Dec 14 14:10:53 2022 rev:41 rq:1042704 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/giflib/giflib.changes    2021-04-22 
18:03:34.434470350 +0200
+++ /work/SRC/openSUSE:Factory/.giflib.new.1835/giflib.changes  2022-12-14 
14:11:07.719533489 +0100
@@ -1,0 +2,6 @@
+Mon Dec 12 21:29:29 UTC 2022 - Dirk Müller <dmuel...@suse.com>
+
+- add reproducible.patch to avoid timestamp patching in the build
+  section and allowing it to build with -Werror=date-time 
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ giflib.spec ++++++
--- /var/tmp/diff_new_pack.NZeOUt/_old  2022-12-14 14:11:08.239536164 +0100
+++ /var/tmp/diff_new_pack.NZeOUt/_new  2022-12-14 14:11:08.247536205 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package giflib
 #
-# Copyright (c) 2021 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
@@ -22,10 +22,11 @@
 Release:        0
 Summary:        A Library for Working with GIF Images
 License:        MIT
-URL:            http://giflib.sf.net/
-Source:         http://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
+URL:            https://giflib.sourceforge.net/
+Source:         https://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
 Patch1:         PIE.patch
+Patch2:         reproducible.patch
 BuildRequires:  libtool >= 2
 
 %description
@@ -59,21 +60,8 @@
 %autosetup -p1
 
 %build
-for file in `find util -name "*.c"`; do
-       touch -r $file $file.stamp
-done
-
-# USE __TIMESTAMP__ instead of __DATE__ , __TIME__
-# this change is pointless unless we preserve the original
-# file modification time
-for file in `find util -name "*.c"`; do
-       sed -i -e s@'__DATE__ ",   " __TIME__'@__TIMESTAMP__@g $file;
-    touch -r $file.stamp $file;
-    rm -v $file.stamp
-done
-
-export CFLAGS="%optflags"
-make %{?_smp_mflags}
+export CFLAGS="%{optflags}"
+%make_build
 
 %install
 %make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"

++++++ reproducible.patch ++++++
Index: giflib-5.2.1/gif2rgb.c
===================================================================
--- giflib-5.2.1.orig/gif2rgb.c
+++ giflib-5.2.1/gif2rgb.c
@@ -43,7 +43,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifbg.c
===================================================================
--- giflib-5.2.1.orig/gifbg.c
+++ giflib-5.2.1/gifbg.c
@@ -46,7 +46,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifbuild.c
===================================================================
--- giflib-5.2.1.orig/gifbuild.c
+++ giflib-5.2.1/gifbuild.c
@@ -23,7 +23,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Eric Raymond,   "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1992 Eric Raymond.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifclrmp.c
===================================================================
--- giflib-5.2.1.orig/gifclrmp.c
+++ giflib-5.2.1/gifclrmp.c
@@ -24,7 +24,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifcolor.c
===================================================================
--- giflib-5.2.1.orig/gifcolor.c
+++ giflib-5.2.1/gifcolor.c
@@ -25,7 +25,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr = PROGRAM_NAME " v%- b%-Background!d h%-";
Index: giflib-5.2.1/gifecho.c
===================================================================
--- giflib-5.2.1.orig/gifecho.c
+++ giflib-5.2.1/gifecho.c
@@ -32,7 +32,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/giffix.c
===================================================================
--- giflib-5.2.1.orig/giffix.c
+++ giflib-5.2.1/giffix.c
@@ -22,7 +22,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifhisto.c
===================================================================
--- giflib-5.2.1.orig/gifhisto.c
+++ giflib-5.2.1/gifhisto.c
@@ -26,7 +26,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifinto.c
===================================================================
--- giflib-5.2.1.orig/gifinto.c
+++ giflib-5.2.1/gifinto.c
@@ -35,7 +35,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/giftext.c
===================================================================
--- giflib-5.2.1.orig/giftext.c
+++ giflib-5.2.1/giftext.c
@@ -28,7 +28,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =
Index: giflib-5.2.1/gifwedge.c
===================================================================
--- giflib-5.2.1.orig/gifwedge.c
+++ giflib-5.2.1/gifwedge.c
@@ -27,7 +27,6 @@ static char
        PROGRAM_NAME
        VERSION_COOKIE
        "       Gershon Elber,  "
-       __DATE__ ",   " __TIME__ "\n"
        "(C) Copyright 1989 Gershon Elber.\n";
 static char
     *CtrlStr =

Reply via email to