fix pyNcairo requirement according to %pyver [release 1.5.1-5mamba;Wed Aug 03 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 11:26:21 +01:00
parent 6c1f23c842
commit 1420c0117d

View File

@ -1,6 +1,6 @@
Name: python-matplotlib Name: python-matplotlib
Version: 1.5.1 Version: 1.5.1
Release: 2mamba Release: 5mamba
Summary: Python plotting library Summary: Python plotting library
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -36,10 +36,18 @@ BuildRequires: python3-tk
# BuildRequires: PyQt # BuildRequires: PyQt
# BuildRequires: PyQt4-devel # BuildRequires: PyQt4-devel
Requires: dejavu-fonts-ttf Requires: dejavu-fonts-ttf
Requires: python-dateutil Requires: python-dateutil%{?pyappend}
Requires: python-numpy Requires: python-numpy%{?pyappend}
Requires: python-tz Requires: python-tz%{?pyappend}
%if 0%{?with_pyver}
Requires: py%{?pyver:%pyver}cairo
%else
Requires: py2cairo Requires: py2cairo
%endif
Requires: python-cycler%{?pyappend}
Requires: python-pyparsing%{?pyappend}
Requires: python-setuptools%{?pyappend}
Requires: python-six%{?pyappend}
Requires: python >= %python_version Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -99,6 +107,15 @@ rm -rf %{buildroot}%{python_sitearch}/matplotlib/mpl-data/fonts
%doc LICENSE/LICENSE LICENSE/LICENSE_enthought.txt %doc LICENSE/LICENSE LICENSE/LICENSE_enthought.txt
%changelog %changelog
* Wed Aug 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-5mamba
- fix pyNcairo requirement according to %pyver
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-4mamba
- fixed requirement for py[2|3]cairo
* Mon Jul 18 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.5.1-3mamba
- add some missing runtime requirements
* Fri Mar 18 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.5.1-2mamba * Fri Mar 18 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.5.1-2mamba
- update the specfile for python3 - update the specfile for python3