diff --git a/python-biopython.spec b/python-biopython.spec index 5373cdb..85ea3f4 100644 --- a/python-biopython.spec +++ b/python-biopython.spec @@ -31,13 +31,13 @@ Obsoletes: python2-%{module} Name: python-biopython Version: 1.73 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python tools for computational molecular biology Source0: https://files.pythonhosted.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz # Starting from biopython-1.69, BioPython is released under the # "Biopython License Agreement"; it looks like a MIT variant -# bz#1440337 +# rhbz #1440337 License: MIT and BSD URL: http://www.biopython.org/ BuildRequires: gcc @@ -63,9 +63,11 @@ BuildRequires: %{py2_prefix}-psycopg2 BuildRequires: %{py2_prefix}-rdflib BuildRequires: wise2 %if 0%{?rhel} +BuildRequires: MySQL-%{py2_prefix} BuildRequires: numpy %else BuildRequires: %{py2_prefix}-numpy +BuildRequires: %{py2_prefix}-mysql %endif # Required packages @@ -75,22 +77,16 @@ Requires: %{py2_prefix}-psycopg2 Requires: wise2 Requires: %{py2_prefix}-rdflib %if 0%{?rhel} +Requires: MySQL-%{py2_prefix} Requires: numpy -Requires: mysql-connector-python -Requires: graphviz-python +Requires: mysql-connector-%{py2_prefix} +Requires: graphviz-%{py2_prefix} %else Requires: %{py2_prefix}-numpy Requires: %{py2_prefix}-pygraphviz -%endif - -%if 0%{?fedora} -BuildRequires: python2-mysql -Requires: python2-mysql -%else -BuildRequires: MySQL-python -Requires: MySQL-python -%endif Requires: %{py2_prefix}-mysql-connector +Requires: %{py2_prefix}-mysql +%endif %description -n python2-%{module} A set of freely available Python tools for computational molecular @@ -306,6 +302,9 @@ popd %license %{module}-%{version}/LICENSE.rst %changelog +* Fri Jun 14 2019 Antonio Trande - 1.73-4 +- Reorganize Requires packages for EPEL7 + * Thu Jun 13 2019 Antonio Trande - 1.73-3 - Rebuild for python-reportlab-3.5.23