From cd7cf9cb8aca0778078bd91fc6794a8621def0fe Mon Sep 17 00:00:00 2001 From: sagitter Date: Feb 15 2016 18:21:52 +0000 Subject: Created a python2- package --- diff --git a/python-biopython.spec b/python-biopython.spec index db69f2e..3e9816b 100644 --- a/python-biopython.spec +++ b/python-biopython.spec @@ -20,15 +20,13 @@ Name: python-biopython Version: 1.66 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python tools for computational molecular biology Source0: http://biopython.org/DIST/biopython-%{version}.tar.gz License: MIT URL: http://www.biopython.org/ Group: Development/Libraries -%{?python_provide:%python_provide python2-%{module}} - BuildRequires: python2-devel BuildRequires: flex-devel BuildRequires: python-reportlab @@ -52,6 +50,14 @@ Requires: MySQL-python A set of freely available Python tools for computational molecular biology. +%package -n python2-%{module} +Summary: %{sum} +%{?python_provide:%python_provide python2-%{pname}} + +%description -n python2-%{module} +A set of freely available Python tools for computational molecular +biology. + %if 0%{?with_python3} %package -n python3-%{module} Summary: Python3 tools for computational molecular biology @@ -146,7 +152,7 @@ popd %endif %endif -%files +%files -n python2-%{module} %{!?_licensedir:%global license %doc} %doc python2/Scripts %doc python2/CONTRIB python2/DEPRECATED python2/NEWS python2/README @@ -172,6 +178,9 @@ popd %license python2/LICENSE %changelog +* Mon Feb 15 2016 Antonio Trande - 1.66-5 +- Created a python2- package + * Thu Feb 04 2016 Fedora Release Engineering - 1.66-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild