diff --git a/python-pyqtgraph.spec b/python-pyqtgraph.spec index f805ab4..6acd671 100644 --- a/python-pyqtgraph.spec +++ b/python-pyqtgraph.spec @@ -1,5 +1,4 @@ %global srcname pyqtgraph -%global py2_deps python2-PyQt4 python2-numpy python2-pyopengl %global py3_deps python3-PyQt4 python3-numpy python3-pyopengl %global sum Scientific Graphics and GUI Library for Python %global desc \ @@ -11,7 +10,7 @@ GraphicsView framework for fast display. Name: python-%{srcname} Version: 0.10.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{sum} License: MIT URL: http://www.pyqtgraph.org/ @@ -21,21 +20,14 @@ Source0: http://www.pyqtgraph.org/downloads/%{version}/%{srcname}-%{versi Source1: pyqtgraph-test-data-4c7d711.tar.gz BuildArch: noarch -BuildRequires: python2-devel python3-devel +BuildRequires: python3-devel # For Tests -BuildRequires: python2-pytest python3-pytest python2-six python3-six -BuildRequires: git-core xorg-x11-server-Xvfb %{py2_deps} %{py3_deps} +BuildRequires: python3-pytest python3-six +BuildRequires: git-core xorg-x11-server-Xvfb %{py3_deps} %description %{desc} -%package -n python2-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} -Requires: %{py2_deps} - -%description -n python2-%{srcname} %{desc} - %package -n python3-%{srcname} Summary: %{sum} %{?python_provide:%python_provide python3-%{srcname}} @@ -56,26 +48,17 @@ mkdir ~/.pyqtgraph mv ../test-data ~/.pyqtgraph %build -%py2_build %py3_build %install -%py2_install %py3_install -rm -rf %{buildroot}/%{python2_sitelib}/pyqtgraph/examples rm -rf %{buildroot}/%{python3_sitelib}/pyqtgraph/examples rm -f doc/build/html/.buildinfo rm -f doc/build/html/objects.inv %check -xvfb-run -a py.test-%{python2_version} -k "not (test_ImageItem or test_ImageItem_axisorder or test_PlotCurveItem or test_getArrayRegion or test_getArrayRegion_axisorder or test_PolyLineROI)" xvfb-run -a py.test-%{python3_version} -k "not (test_ImageItem or test_ImageItem_axisorder or test_PlotCurveItem or test_getArrayRegion or test_getArrayRegion_axisorder or test_PolyLineROI)" -%files -n python2-%{srcname} -%license LICENSE.txt -%doc CHANGELOG README.md -%{python2_sitelib}/* - %files -n python3-%{srcname} %license LICENSE.txt %doc CHANGELOG README.md @@ -85,6 +68,9 @@ xvfb-run -a py.test-%{python3_version} -k "not (test_ImageItem or test_ImageItem %doc examples doc/build/html %changelog +* Tue Sep 11 2018 Scott Talbert - 0.10.0-6 +- Remove Python 2 subpackage (appears to be unused) + * Sat Jul 14 2018 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild