From daf18d6d7993e89a118865cba3a36f4d6e1d2ad76eed01960f7d7e5017195d0b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 26 Nov 2024 01:54:50 +0000 Subject: [PATCH] - Fix building. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=29 --- python-exiv2.changes | 1 + python-exiv2.spec | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-exiv2.changes b/python-exiv2.changes index d3e6bb5..550e863 100644 --- a/python-exiv2.changes +++ b/python-exiv2.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Mon Nov 25 23:34:32 UTC 2024 - Matej Cepl +- Fix building. - Enable tests. ------------------------------------------------------------------- diff --git a/python-exiv2.spec b/python-exiv2.spec index 0c7790c..30e015d 100644 --- a/python-exiv2.spec +++ b/python-exiv2.spec @@ -22,10 +22,12 @@ Release: 0 Summary: Python3 bindings for the exiv2 library License: GPL-3.0-only Group: Development/Languages/Python -URL: https://launchpad.net/py3exiv2 +URL: https://github.com/jim-easterbrook/python-exiv2 Source: https://github.com/jim-easterbrook/python-exiv2/archive/refs/tags/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libboost_python3-devel @@ -48,10 +50,10 @@ easy manipulation of image metadata. %autosetup -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check