Use more python2- dependencies where available.
This commit is contained in:
parent
f46b703e96
commit
bf010710f1
|
@ -75,24 +75,24 @@ errorcharts, scatterplots, etc, with just a few lines of code.
|
||||||
|
|
||||||
%package -n python2-matplotlib
|
%package -n python2-matplotlib
|
||||||
Summary: Python 2D plotting library
|
Summary: Python 2D plotting library
|
||||||
BuildRequires: numpy
|
BuildRequires: python2-numpy
|
||||||
BuildRequires: pyparsing
|
BuildRequires: python2-pyparsing
|
||||||
BuildRequires: python-dateutil
|
BuildRequires: python2-dateutil
|
||||||
BuildRequires: python-pyside
|
BuildRequires: python2-pyside
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: python-six
|
BuildRequires: python2-six
|
||||||
BuildRequires: python-subprocess32
|
BuildRequires: python2-subprocess32
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-backports-functools_lru_cache
|
BuildRequires: python2-backports-functools_lru_cache
|
||||||
BuildRequires: python2-pillow
|
BuildRequires: python2-pillow
|
||||||
BuildRequires: pytz
|
BuildRequires: python2-pytz
|
||||||
%if %{with_html}
|
%if %{with_html}
|
||||||
BuildRequires: %{_bindir}/pdftops
|
BuildRequires: %{_bindir}/pdftops
|
||||||
# circular dependency: python-basemap requires matplotlib
|
# circular dependency: python2-basemap requires matplotlib
|
||||||
BuildRequires: python-basemap
|
BuildRequires: python2-basemap
|
||||||
BuildRequires: python-ipython-sphinx
|
BuildRequires: python2-ipython-sphinx
|
||||||
BuildRequires: python-numpydoc
|
BuildRequires: python2-numpydoc
|
||||||
BuildRequires: python-scikit-image
|
BuildRequires: python2-scikit-image
|
||||||
BuildRequires: python2-colorspacious
|
BuildRequires: python2-colorspacious
|
||||||
BuildRequires: python2-cycler >= 0.10.0
|
BuildRequires: python2-cycler >= 0.10.0
|
||||||
%endif
|
%endif
|
||||||
|
@ -103,17 +103,17 @@ BuildRequires: python2-mock
|
||||||
%endif
|
%endif
|
||||||
Requires: dejavu-sans-fonts
|
Requires: dejavu-sans-fonts
|
||||||
Requires: dvipng
|
Requires: dvipng
|
||||||
Requires: numpy
|
Requires: python2-numpy
|
||||||
Requires: pyparsing
|
Requires: python2-pyparsing
|
||||||
Requires: python2-cycler >= 0.10.0
|
Requires: python2-cycler >= 0.10.0
|
||||||
Requires: python-dateutil
|
Requires: python2-dateutil
|
||||||
Requires: python2-backports-functools_lru_cache
|
Requires: python2-backports-functools_lru_cache
|
||||||
Requires: python-matplotlib-data = %{version}-%{release}
|
Requires: python-matplotlib-data = %{version}-%{release}
|
||||||
%{?backend_subpackage:Requires: python2-matplotlib-%{backend_subpackage}%{?_isa} = %{version}-%{release}}
|
%{?backend_subpackage:Requires: python2-matplotlib-%{backend_subpackage}%{?_isa} = %{version}-%{release}}
|
||||||
Recommends: python2-pillow
|
Recommends: python2-pillow
|
||||||
Requires: python-six
|
Requires: python2-six
|
||||||
Requires: python-subprocess32
|
Requires: python2-subprocess32
|
||||||
Requires: pytz
|
Requires: python2-pytz
|
||||||
%if !%{with_bundled_fonts}
|
%if !%{with_bundled_fonts}
|
||||||
Requires: stix-math-fonts
|
Requires: stix-math-fonts
|
||||||
%else
|
%else
|
||||||
|
@ -140,7 +140,7 @@ errorcharts, scatterplots, etc, with just a few lines of code.
|
||||||
%package -n python2-matplotlib-qt4
|
%package -n python2-matplotlib-qt4
|
||||||
Summary: Qt4 backend for python-matplotlib
|
Summary: Qt4 backend for python-matplotlib
|
||||||
BuildRequires: PyQt4-devel
|
BuildRequires: PyQt4-devel
|
||||||
Requires: PyQt4
|
Requires: python2-PyQt4
|
||||||
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
||||||
Requires: python2-matplotlib-qt5
|
Requires: python2-matplotlib-qt5
|
||||||
%{?python_provide:%python_provide python2-matplotlib-qt4}
|
%{?python_provide:%python_provide python2-matplotlib-qt4}
|
||||||
|
@ -150,8 +150,8 @@ Requires: python2-matplotlib-qt5
|
||||||
|
|
||||||
%package -n python2-matplotlib-qt5
|
%package -n python2-matplotlib-qt5
|
||||||
Summary: Qt5 backend for python-matplotlib
|
Summary: Qt5 backend for python-matplotlib
|
||||||
BuildRequires: python-qt5
|
BuildRequires: python2-qt5
|
||||||
Requires: python-qt5
|
Requires: python2-qt5
|
||||||
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
||||||
%{?python_provide:%python_provide python2-matplotlib-qt5}
|
%{?python_provide:%python_provide python2-matplotlib-qt5}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ Requires: tkinter
|
||||||
Summary: wxPython backend for python-matplotlib
|
Summary: wxPython backend for python-matplotlib
|
||||||
BuildRequires: wxPython-devel
|
BuildRequires: wxPython-devel
|
||||||
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
Requires: python2-matplotlib%{?_isa} = %{version}-%{release}
|
||||||
Requires: wxPython
|
Requires: python2-wxpython
|
||||||
%{?python_provide:%python_provide python2-matplotlib-wx}
|
%{?python_provide:%python_provide python2-matplotlib-wx}
|
||||||
|
|
||||||
%description -n python2-matplotlib-wx
|
%description -n python2-matplotlib-wx
|
||||||
|
@ -211,7 +211,7 @@ Summary: Documentation files for python-matplotlib
|
||||||
%if %{with_html}
|
%if %{with_html}
|
||||||
BuildRequires: dvipng
|
BuildRequires: dvipng
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python2-sphinx
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: tex-preview
|
BuildRequires: tex-preview
|
||||||
%endif
|
%endif
|
||||||
|
@ -558,6 +558,7 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Mar 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.2-3
|
* Tue Mar 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.2-3
|
||||||
- Cleanup spec file of old conditionals
|
- Cleanup spec file of old conditionals
|
||||||
|
- Use more python2- dependencies
|
||||||
|
|
||||||
* Mon Feb 05 2018 Karsten Hopp <karsten@redhat.com> - 2.1.2-2
|
* Mon Feb 05 2018 Karsten Hopp <karsten@redhat.com> - 2.1.2-2
|
||||||
- update and fix spec file conditionals
|
- update and fix spec file conditionals
|
||||||
|
|
Loading…
Reference in New Issue