From 0eab078093ef6cd5bad6fa91b8b3660e2e464f7f Mon Sep 17 00:00:00 2001 From: David Shea Date: Wed, 5 Aug 2015 11:38:28 -0400 Subject: [PATCH] Add missing BuildRequires and improve readability --- python-pid.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-pid.spec b/python-pid.spec index 7f1fcf0..b1553e8 100644 --- a/python-pid.spec +++ b/python-pid.spec @@ -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}