From cb2797368eb3a1476d89f242d3793b71fb29cb5661267695d8437a171aa080cb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 25 Nov 2024 23:34:41 +0000 Subject: [PATCH] - Enable tests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=27 --- python-exiv2.changes | 5 +++++ python-exiv2.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-exiv2.changes b/python-exiv2.changes index 7006a1d..d3e6bb5 100644 --- a/python-exiv2.changes +++ b/python-exiv2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 25 23:34:32 UTC 2024 - Matej Cepl + +- Enable tests. + ------------------------------------------------------------------- Sun Nov 24 09:33:03 UTC 2024 - Joshua Smith diff --git a/python-exiv2.spec b/python-exiv2.spec index 2ef70cb..511861d 100644 --- a/python-exiv2.spec +++ b/python-exiv2.spec @@ -25,6 +25,7 @@ Group: Development/Languages/Python URL: https://launchpad.net/py3exiv2 Source: https://github.com/jim-easterbrook/python-exiv2/archive/refs/tags/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ @@ -54,6 +55,9 @@ easy manipulation of image metadata. %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +%pytest_arch + %files %{python_files} %{python_sitearch}/exiv2 %{python_sitearch}/exiv2-%{version}*-info