From e98a833e78f613ed1128eb3374897ab80f8397c9 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 30 2018 16:23:40 +0000 Subject: Remove python2 subpackage (#1632571) --- diff --git a/python-ccdproc.spec b/python-ccdproc.spec index 07df6dd..d4dced0 100644 --- a/python-ccdproc.spec +++ b/python-ccdproc.spec @@ -5,7 +5,7 @@ Name: python-%{srcname} Version: 1.3.0 -Release: 3%{?reltag}%{?dist} +Release: 4%{?reltag}%{?dist} Summary: %{sum} License: BSD @@ -13,12 +13,8 @@ URL: https://pypi.python.org/pypi/%{srcname} Source0: https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}%{?reltag}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python3-devel -BuildRequires: python2-astropy python2-astropy-helpers +BuildRequires: python3-devel BuildRequires: python3-astropy python3-astropy-helpers -BuildRequires: python2-astroscrappy -BuildRequires: python2-reproject -BuildRequires: python2-scikit-image BuildRequires: python3-astroscrappy BuildRequires: python3-reproject BuildRequires: python3-scikit-image @@ -28,19 +24,6 @@ The ccdproc package is a collection of code that will be helpful in basic CCD processing. These steps will allow reduction of basic CCD data as either a stand-alone processing or as part of a pipeline. -%package -n python2-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} -Requires: python2-astropy -Requires: python2-astroscrappy -Requires: python2-reproject -Requires: python2-scikit-image - -%description -n python2-%{srcname} -The ccdproc package is a collection of code that will be helpful in basic CCD -processing. These steps will allow reduction of basic CCD data as either a -stand-alone processing or as part of a pipeline. - %package -n python3-%{srcname} Summary: %{sum} @@ -60,28 +43,23 @@ stand-alone processing or as part of a pipeline. %autosetup -n %{srcname}-%{version}%{?reltag} %build -%py2_build %py3_build %install -%py2_install %py3_install #%%check -#%%{__python2} setup.py test #%%{__python3} setup.py test -%files -n python2-%{srcname} -%license LICENSE.rst licenses/LICENSE_STSCI_TOOLS.txt -%doc CHANGES.rst README.rst -%{python2_sitelib}/* - %files -n python3-%{srcname} %license LICENSE.rst licenses/LICENSE_STSCI_TOOLS.txt %doc CHANGES.rst README.rst %{python3_sitelib}/* %changelog +* Sun Sep 30 2018 Miro Hrončok - 1.3.0-4.post1 +- Remove python2 subpackage (#1632571) + * Fri Jul 13 2018 Fedora Release Engineering - 1.3.0-3.post1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild