Add missing BuildRequires and improve readability

This commit is contained in:
David Shea 2015-08-05 11:38:28 -04:00
parent 310714740b
commit 0eab078093

View File

@ -9,9 +9,6 @@ License: ASL 2.0
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildRequires: python2-devel python3-devel
BuildRequires: python-setuptools python3-setuptools
BuildArch: noarch
%description
@ -26,6 +23,11 @@ PidFile can also be used as a context manager or a decorator.
%package -n python2-%{srcname}
Summary: PID file management library
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-nose
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
@ -40,6 +42,11 @@ PidFile can also be used as a context manager or a decorator.
%package -n python3-%{srcname}
Summary: PID file management library
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}