forked from pool/python-pifpaf
- Add fdupes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pifpaf?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 8 12:05:42 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- Add fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 8 12:03:27 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user