!19 修复python3.10dist(matplotlib) = 0导致python3-matplotlib安装后无法识别到问题

From: @wu-leilei 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-05-10 09:59:19 +00:00 committed by Gitee
commit e57c373a67
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-matplotlib
Version: 3.7.1
Release: 1
Release: 2
Summary: A comprehensive library for creating static, animated, and interactive visualizations
License: Python and MIT and OFL-1.1 and Public Domain
URL: https://github.com/matplotlib/matplotlib
@ -11,7 +11,7 @@ Source1000: https://github.com/QuLogic/mpl-images/archive/v3.7.1-with-freety
Patch0001: 0001-matplotlibrc-path-search-fix.patch
Patch0002: 0002-Set-FreeType-version-to-2.12.1-and-update-tolerances.patch
BuildRequires: freetype-devel libpng-devel qhull-devel texlive-cm xorg-x11-server-Xvfb zlib-devel
BuildRequires: python3-certifi python3-pybind11 gcc-c++
BuildRequires: python3-certifi python3-pybind11 gcc-c++ python3-setuptools_scm
%description
@ -147,6 +147,9 @@ mv %{buildroot}%{python3_sitearch}/matplotlib/mpl-data %{buildroot}%{_datadir}/m
%{python3_sitearch}/matplotlib/backends/{tkagg.*,__pycache__/tkagg.*,_tkagg.*}
%changelog
* Wed May 10 2023 wulei <wu_lei@hoperun.com> - 3.7.1-2
- Fix the version cannot be detected
* Fri Apr 14 2023 wulei <wu_lei@hoperun.com> - 3.7.1-1
- Upgrade package to version 3.7.1