diff --git a/py3exiv2-0.7.1.tar.gz b/py3exiv2-0.7.1.tar.gz deleted file mode 100644 index a6b1603..0000000 --- a/py3exiv2-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1bff23cb6a53275e97cee374f92d9acb059a5985c5f62aaa9c87ddb31002d9e -size 35097 diff --git a/py3exiv2-0.8.0.tar.gz b/py3exiv2-0.8.0.tar.gz new file mode 100644 index 0000000..4f15590 --- /dev/null +++ b/py3exiv2-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09d8555c2d1681f1e474763a3e2492a2ccbf2cd51ffac13c8688e339834b81ec +size 35783 diff --git a/py3exiv2-link-boost.patch b/py3exiv2-link-boost.patch new file mode 100644 index 0000000..f7cdc84 --- /dev/null +++ b/py3exiv2-link-boost.patch @@ -0,0 +1,13 @@ +Index: py3exiv2-0.8.0/setup.py +=================================================================== +--- py3exiv2-0.8.0.orig/setup.py 2020-09-29 18:30:38.000000000 +0200 ++++ py3exiv2-0.8.0/setup.py 2020-10-20 08:52:35.836907091 +0200 +@@ -37,7 +37,7 @@ if platform.system() == "Darwin": + boostlib = get_libboost_osx() + + else: +- python_version = str(sys.version_info.major) + str(sys.version_info.minor) ++ python_version = str(sys.version_info.major) + boostlib = 'boost_python' + python_version + + setup( diff --git a/python-exiv2.changes b/python-exiv2.changes index 5d275ac..5e34b94 100644 --- a/python-exiv2.changes +++ b/python-exiv2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Oct 20 06:39:52 UTC 2020 - Andreas Schneider + +- Update to version 0.8.0 + * Add XmpSeq support + * Add a datetime conversion to Python with iso format, update some unittests +- Added py3exiv2-link-boost.patch + ------------------------------------------------------------------- Tue Jul 2 14:47:21 UTC 2019 - Tomáš Chvátal diff --git a/python-exiv2.spec b/python-exiv2.spec index a9a7955..89bd9dc 100644 --- a/python-exiv2.spec +++ b/python-exiv2.spec @@ -1,7 +1,7 @@ # # spec file for package python-exiv2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,17 @@ # This is a python3 only package %define skip_python2 1 Name: python-exiv2 -Version: 0.7.1 +Version: 0.8.0 Release: 0 Summary: Python3 bindings for the exiv2 library License: GPL-3.0-only Group: Development/Languages/Python URL: https://launchpad.net/py3exiv2 -Source: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz +# +Source0: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz +# +Patch0: py3exiv2-link-boost.patch +# BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -48,7 +52,7 @@ libexiv2. Using python’s built-in data types and standard modules, it provides easy manipulation of image metadata. %prep -%setup -q -n py3exiv2-%{version} +%autosetup -p1 -n py3exiv2-%{version} %build %python_build