forked from pool/python-Pillow
- Fix rpmlint warning about duplicate file definition
- Fix package build by relying on %python_subpackages for Obsoletes/Conflicts (bsc#1181281) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=112
This commit is contained in:
parent
f8e8b2c3ae
commit
addcb73563
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6fc18f9c9c7959bf58e6faf801d14fafb6d4717faaf6f79a68c8bb2a13dcf20
|
||||
size 44978772
|
3
Pillow-8.1.2.tar.gz
Normal file
3
Pillow-8.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b07c660e014852d98a00a91adfbe25033898a9d90a8f39beb2437d22a203fc44
|
||||
size 45218347
|
@ -17,6 +17,12 @@ Wed Mar 3 07:41:14 UTC 2021 - Adrian Schröter <adrian@suse.de>
|
||||
Other Changes
|
||||
A crash with the feature flags for LibJpeg and Webp on unreleased Python 3.10 has been fixed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 28 15:07:09 UTC 2021 - Oliver Kurz <okurz@suse.com>
|
||||
|
||||
- Fix rpmlint warning about duplicate file definition
|
||||
- Fix package build by relying on %python_subpackages for Obsoletes/Conflicts (bsc#1181281)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 24 11:00:39 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Pillow
|
||||
Version: 8.1.1
|
||||
Version: 8.1.2
|
||||
Release: 0
|
||||
Summary: Python Imaging Library (Fork)
|
||||
License: HPND
|
||||
@ -57,10 +57,8 @@ Provides: %{oldpython}-imaging = %{version}
|
||||
Obsoletes: %{oldpython}-imaging-sane < %{version}
|
||||
Provides: %{oldpython}-imaging-sane = %{version}
|
||||
%endif
|
||||
%ifpython3
|
||||
Obsoletes: python3-imaging < %{version}
|
||||
Provides: python3-imaging = %{version}
|
||||
%endif
|
||||
Obsoletes: python-imaging < %{version}
|
||||
Provides: python-imaging = %{version}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -93,9 +91,9 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
# add missing path
|
||||
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
|
||||
|
Loading…
Reference in New Issue
Block a user