[pytest] Fix: python3 dependencies.

Thomas Moschny thm at fedoraproject.org
Sat Sep 3 13:39:11 UTC 2011


commit 5cb33d7705565b9b38cab976badd6e07f5668e14
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Sat Sep 3 15:38:10 2011 +0200

    Fix: python3 dependencies.

 pytest.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pytest.spec b/pytest.spec
index 4240f47..82d13cf 100644
--- a/pytest.spec
+++ b/pytest.spec
@@ -7,7 +7,7 @@
 
 Name:           pytest
 Version:        2.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Simple powerful testing with Python
 
 Group:          Development/Languages
@@ -26,9 +26,7 @@ BuildRequires:  python-sphinx
 %if 0%{?with_python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
-Requires:       python3-setuptools
 BuildRequires:  python3-py >= 1.4.5
-Requires:       python3-py >= 1.4.5
 %endif # with_python3
 # pytest was separated from pylib at that point
 Conflicts:      python-py < 1.4.0
@@ -41,6 +39,8 @@ py.test provides simple, yet powerful testing for Python.
 %package -n python3-pytest
 Summary:        Simple powerful testing with Python
 Group:          Development/Languages
+Requires:       python3-setuptools
+Requires:       python3-py >= 1.4.5
 
 
 %description -n python3-pytest
@@ -131,6 +131,9 @@ popd
 
 
 %changelog
+* Sat Sep  3 2011 Thomas Moschny <thomas.moschny at gmx.de> - 2.1.1-2
+- Fix: python3 dependencies.
+
 * Sun Aug 28 2011 Thomas Moschny <thomas.moschny at gmx.de> - 2.1.1-1
 - Update to 2.1.1.
 


More information about the scm-commits mailing list