diff --git a/.gitignore b/.gitignore index 28eb5c5..0158b35 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ libgexiv2-0.1.90.tar.gz /gexiv2-0.10.3.tar.xz /gexiv2-0.10.4.tar.xz /gexiv2-0.10.5.tar.xz +/gexiv2-0.10.6.tar.xz diff --git a/libgexiv2-Adapt-to-Exiv2-BasicIo-API-change.patch b/libgexiv2-Adapt-to-Exiv2-BasicIo-API-change.patch deleted file mode 100644 index 45ba96d..0000000 --- a/libgexiv2-Adapt-to-Exiv2-BasicIo-API-change.patch +++ /dev/null @@ -1,45 +0,0 @@ -From d0d8ccd051edf0691a6a309143979507fe29c466 Mon Sep 17 00:00:00 2001 -From: Debarshi Ray -Date: Wed, 10 May 2017 17:22:33 +0200 -Subject: [PATCH] Adapt to Exiv2::BasicIo API change - -Exiv2::BasicIo::size now returns a size_t instead of long: -http://dev.exiv2.org/issues/1175 - -Bump minimum Exiv2 version to 0.26. - -https://bugzilla.gnome.org/show_bug.cgi?id=782449 ---- - gexiv2/gexiv2-stream-io.cpp | 2 +- - gexiv2/gexiv2-stream-io.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp -index 0ae33241f31a..39445013c13b 100644 ---- a/gexiv2/gexiv2-stream-io.cpp -+++ b/gexiv2/gexiv2-stream-io.cpp -@@ -142,7 +142,7 @@ long StreamIo::tell () const { - return cb->Position (cb->handle); - } - --long StreamIo::size () const { -+size_t StreamIo::size () const { - return cb->Length (cb->handle); - } - -diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h -index 76621a9e520b..430ac01c9e3d 100644 ---- a/gexiv2/gexiv2-stream-io.h -+++ b/gexiv2/gexiv2-stream-io.h -@@ -39,7 +39,7 @@ public: - virtual Exiv2::byte* mmap (bool isWriteable = false); - virtual int munmap (); - virtual long tell () const; -- virtual long size () const; -+ virtual size_t size () const; - virtual bool isopen () const; - virtual int error () const; - virtual bool eof () const; --- -2.9.3 - diff --git a/libgexiv2.spec b/libgexiv2.spec index 9cc4751..fb89406 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -1,15 +1,12 @@ Name: libgexiv2 -Version: 0.10.5 -Release: 3%{?dist} +Version: 0.10.6 +Release: 1%{?dist} Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library License: GPLv2+ URL: https://wiki.gnome.org/Projects/gexiv2 Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz -# https://bugzilla.redhat.com/show_bug.cgi?id=1448428 -Patch0: libgexiv2-Adapt-to-Exiv2-BasicIo-API-change.patch - BuildRequires: exiv2-devel BuildRequires: gobject-introspection-devel BuildRequires: libtool @@ -59,7 +56,6 @@ This package contains the python3 bindings for %{name} %prep %setup -q -n gexiv2-%{version} -%patch0 -p1 %build %configure --enable-introspection --enable-static=no --enable-shared=yes @@ -103,6 +99,9 @@ make check %endif %changelog +* Sat May 13 2017 Kalev Lember - 0.10.6-1 +- Update to 0.10.6 + * Tue May 02 2017 Rex Dieter - 0.10.5-3 - Rebuild against new exiv2 soname diff --git a/sources b/sources index 5c31e76..027941d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gexiv2-0.10.5.tar.xz) = 350e9db388d0aa1c106f3e5bf8862206977d650be0223229c61c6a3ee20642890fbfd7681a215b9c85c10d0787a00a25bc05a639e19a5f39be27cb6d1bb0fc06 +SHA512 (gexiv2-0.10.6.tar.xz) = 4b15b33af9266a69babd902d379edefe7afd3d2eef11aa3c144f9ddf9c645b697bae16b8d89f50e9b3da884f1ba32f505e118c5fef5204f5630e3a9c6fee7fca