Skip to content

Commit

Permalink
Update python-pillow to 10.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Aug 5, 2024
1 parent d78c01e commit b4603c1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
1 change: 0 additions & 1 deletion packages/python-pillow/Pillow-9.5.0.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/python-pillow/pillow-10.3.0.tar.gz
27 changes: 15 additions & 12 deletions packages/python-pillow/python-pillow.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@
%global srcname pillow

Name: python-%{srcname}
Version: 9.5.0
Release: 5%{?dist}
Version: 10.3.0
Release: 1%{?dist}
Summary: Python Imaging Library (Fork)

License: HPND
URL: https://python-pillow.org
Source0: https://files.pythonhosted.org/packages/source/P/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/P/%{pypi_name}/%{srcname}-%{version}.tar.gz

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: zlib-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: pyproject-rpm-macros


%description
Expand All @@ -35,29 +38,29 @@ Summary: %{summary}

%prep
set -ex
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{srcname}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info


%build
set -ex
%py3_build
%pyproject_wheel


%install
set -ex
%py3_install
%pyproject_install


%files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE
%doc README.md
%{python3_sitearch}/PIL
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

%{python3_sitearch}/%{srcname}-%{version}.dist-info/

%changelog
* Thu Aug 01 2024 Odilon Sousa <[email protected]> - 10.3.0-1
- Release python-pillow 10.3.0

* Tue Jan 16 2024 Odilon Sousa <[email protected]> - 9.5.0-5
- Remove SCL bits

Expand Down

0 comments on commit b4603c1

Please sign in to comment.