Hello community, here is the log from the commit of package libgexiv2 for openSUSE:Factory checked in at 2018-04-19 15:25:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgexiv2 (Old) and /work/SRC/openSUSE:Factory/.libgexiv2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgexiv2" Thu Apr 19 15:25:39 2018 rev:33 rq:596176 version:0.10.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libgexiv2/libgexiv2.changes 2018-02-12 10:10:22.403973902 +0100 +++ /work/SRC/openSUSE:Factory/.libgexiv2.new/libgexiv2.changes 2018-04-19 15:25:40.772377039 +0200 @@ -1,0 +2,6 @@ +Tue Apr 10 12:14:25 UTC 2018 - [email protected] + +- Add libgexiv2-reproducible.patch: Avoid non-reproducible absolute + build path in .h (bgo#793984). + +------------------------------------------------------------------- New: ---- libgexiv2-reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgexiv2.spec ++++++ --- /var/tmp/diff_new_pack.dCLClH/_old 2018-04-19 15:25:41.400351527 +0200 +++ /var/tmp/diff_new_pack.dCLClH/_new 2018-04-19 15:25:41.404351364 +0200 @@ -24,10 +24,12 @@ Version: 0.10.8 Release: 0 Summary: A GObject-based Exiv2 wrapper -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/C and C++ -Url: https://wiki.gnome.org/Projects/gexiv2 -Source: http://ftp.gnome.org/pub/gnome/sources/gexiv2/0.10/%{tarname}-%{version}.tar.xz +URL: https://wiki.gnome.org/Projects/gexiv2 +Source0: http://ftp.gnome.org/pub/gnome/sources/gexiv2/0.10/%{tarname}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM libgexiv2-reproducible.patch bgo#793984 [email protected] -- Avoid non-reproducible absolute build path in .h +Patch0: libgexiv2-reproducible.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module gobject} @@ -97,6 +99,7 @@ %prep %setup -q -n %{tarname}-%{version} +%patch0 -p1 %build %configure --enable-introspection @@ -113,7 +116,8 @@ %postun -n libgexiv2-2 -p /sbin/ldconfig %files -n libgexiv2-2 -%doc AUTHORS COPYING NEWS README THANKS +%license COPYING +%doc AUTHORS NEWS README THANKS %{_libdir}/libgexiv2.so.* %files -n typelib-1_0-GExiv2-0_10 ++++++ libgexiv2-reproducible.patch ++++++ >From 6ae2aa0a6266952d74aba6eba0424826497c6761 Mon Sep 17 00:00:00 2001 From: Chris Lamb <[email protected]> Date: Fri, 2 Mar 2018 09:13:03 +0000 Subject: Avoid non-reproducible absolute build path in .h. Whilst working on the Reproducible Builds effort [0], we noticed that gexiv2 could not be built reproducibly. This is because the generated enums files contain the absolute build path. The basename is sufficient in context. This was originally filed in Debian as: https://bugs.debian.org/891897 https://bugzilla.gnome.org/show_bug.cgi?id=793984 --- gexiv2/gexiv2-enums.cpp.template | 2 +- gexiv2/gexiv2-enums.h.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gexiv2/gexiv2-enums.cpp.template b/gexiv2/gexiv2-enums.cpp.template index f0890f9..0caca7a 100644 --- a/gexiv2/gexiv2-enums.cpp.template +++ b/gexiv2/gexiv2-enums.cpp.template @@ -3,7 +3,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ #include "@filename@" /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/gexiv2/gexiv2-enums.h.template b/gexiv2/gexiv2-enums.h.template index 879ec01..0c0303c 100644 --- a/gexiv2/gexiv2-enums.h.template +++ b/gexiv2/gexiv2-enums.h.template @@ -9,7 +9,7 @@ G_BEGIN_DECLS /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from @filename@ */ +/* enumerations from @basename@ */ /*** END file-production ***/ -- cgit v0.12
