Accepting request 655609 from devel:languages:python
- Fix fdupes call - Fix some version conditionals OBS-URL: https://build.opensuse.org/request/show/655609 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=32
This commit is contained in:
commit
e11936b32b
@ -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>
|
Mon Oct 8 14:54:15 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!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
|
%bcond_without tk
|
||||||
%else
|
%else
|
||||||
%bcond_with tk
|
%bcond_with tk
|
||||||
@ -51,7 +51,7 @@ Requires: python-olefile
|
|||||||
%if %{with tk}
|
%if %{with tk}
|
||||||
BuildRequires: %{python_module tk}
|
BuildRequires: %{python_module tk}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1315
|
%if 0%{?suse_version} >= 1500
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: openjpeg2-devel
|
||||||
%endif
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
@ -100,7 +100,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_prefix}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
# add missing path
|
# add missing path
|
||||||
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user