diff --git a/py3exiv2-0.11.0.tar.gz b/py3exiv2-0.11.0.tar.gz deleted file mode 100644 index ece12ed..0000000 --- a/py3exiv2-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6600da6b897199d4da66191b96045f3ccc5f57010da76b3ac5d292b83fcca844 -size 36255 diff --git a/py3exiv2-0.12.3.tar.gz b/py3exiv2-0.12.3.tar.gz new file mode 100644 index 0000000..fd785d3 --- /dev/null +++ b/py3exiv2-0.12.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c97d0cc8db8d579f8709876879faff9809c4000279d4cdd3d0fb2fa7cdcbf0b6 +size 47062 diff --git a/py3exiv2-link-boost.patch b/py3exiv2-link-boost.patch index f7cdc84..be162a0 100644 --- a/py3exiv2-link-boost.patch +++ b/py3exiv2-link-boost.patch @@ -1,8 +1,10 @@ -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": +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/setup.py ++++ b/setup.py +@@ -40,7 +40,7 @@ if platform.system() == "Darwin": boostlib = get_libboost_osx() else: diff --git a/python-exiv2.changes b/python-exiv2.changes index 6e6bebc..8c5b0b2 100644 --- a/python-exiv2.changes +++ b/python-exiv2.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Aug 10 21:33:24 UTC 2023 - Matej Cepl + +- Update to 0.12.3: + - upstream doesn't release proper changelog +- Remove the exiv2_0-28-0.patch patch again. + +------------------------------------------------------------------- +Fri Aug 4 23:06:13 UTC 2023 - Matej Cepl + +- Add exiv2_0-28-0.patch making the package compatible with the + latest exiv2 0.28 (lp#2027823). + ------------------------------------------------------------------- Thu Oct 13 17:56:29 UTC 2022 - Axel Braun diff --git a/python-exiv2.spec b/python-exiv2.spec index e4d49a8..ab0712d 100644 --- a/python-exiv2.spec +++ b/python-exiv2.spec @@ -1,7 +1,7 @@ # # spec file for package python-exiv2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -# This is a python3 only package -%define skip_python2 1 - Name: python-exiv2 -Version: 0.11.0 +Version: 0.12.3 Release: 0 Summary: Python3 bindings for the exiv2 library License: GPL-3.0-only @@ -31,7 +27,6 @@ URL: https://launchpad.net/py3exiv2 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 @@ -60,9 +55,11 @@ easy manipulation of image metadata. %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} -%{python_sitearch}/* +%{python_sitearch}/libexiv2python.*.so +%{python_sitearch}/pyexiv2 +%{python_sitearch}/py3exiv2-%{version}*-info %changelog