- Fix fdupes call
- Fix some version conditionals OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=76
This commit is contained in:
parent
e7e3fcc8f2
commit
eb8049372c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 12:18:06 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix fdupes call
|
||||
- Fix some version conditionals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 8 14:54:15 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%if 0%{?is_opensuse} || 0%{?suse_version} > 1330
|
||||
%if 0%{?is_opensuse} || 0%{?suse_version} >= 1500
|
||||
%bcond_without tk
|
||||
%else
|
||||
%bcond_with tk
|
||||
@ -51,7 +51,7 @@ Requires: python-olefile
|
||||
%if %{with tk}
|
||||
BuildRequires: %{python_module tk}
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1315
|
||||
%if 0%{?suse_version} >= 1500
|
||||
BuildRequires: openjpeg2-devel
|
||||
%endif
|
||||
%ifpython2
|
||||
@ -100,7 +100,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# add missing path
|
||||
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user