diff --git a/python-gphoto2.changes b/python-gphoto2.changes index 152fcbe..46cd60f 100644 --- a/python-gphoto2.changes +++ b/python-gphoto2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 6 16:04:32 UTC 2023 - Matej Cepl + +- Don't use fdupes -s, it hurts. + ------------------------------------------------------------------- Thu Sep 2 14:42:48 UTC 2021 - Christophe Giboudeaux diff --git a/python-gphoto2.spec b/python-gphoto2.spec index 6eb7334..10fb5c4 100644 --- a/python-gphoto2.spec +++ b/python-gphoto2.spec @@ -1,7 +1,7 @@ # # spec file for package python-gphoto2 # -# Copyright (c) 2020 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 @@ -28,6 +28,7 @@ Patch0: %{name}-do_not_install_data.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libgphoto2) %python_subpackages @@ -51,11 +52,12 @@ chmod -x examples/*.py %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitearch} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %license LICENSE.txt %doc CHANGELOG.txt README.rst examples -%{python_sitearch}/* +%{python_sitearch}/gphoto2 +%{python_sitearch}/gphoto2-%{version}*-info %changelog