diff --git a/python-pifpaf.changes b/python-pifpaf.changes index 61b8401..67e2c5e 100644 --- a/python-pifpaf.changes +++ b/python-pifpaf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 8 12:05:42 UTC 2019 - Thomas Bechtold + +- Add fdupes + ------------------------------------------------------------------- Mon Apr 8 12:03:27 UTC 2019 - Thomas Bechtold diff --git a/python-pifpaf.spec b/python-pifpaf.spec index 81c40cc..79f4400 100644 --- a/python-pifpaf.spec +++ b/python-pifpaf.spec @@ -26,6 +26,7 @@ Group: Development/Languages/Python Url: https://github.com/jd/pifpaf Source: https://pypi.io/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz BuildRequires: %{python_module pbr} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-click @@ -62,6 +63,7 @@ export LC_ALL=en_US.utf8 export LC_ALL=en_US.utf8 %python_install %python_clone -a %{buildroot}%{_bindir}/pifpaf +%python_expand %fdupes %{buildroot}%{$python_sitelib} %post %python_install_alternative pifpaf