[python-d2to1] Requires for python3 inside python3 package (bz #891381)

Sergio Pascual sergiopr at fedoraproject.org
Fri Jan 4 00:43:27 UTC 2013


commit b4da480850c0e475666de5428493313787185214
Author: Pasrario <harenawer at zoho.com>
Date:   Fri Jan 4 01:43:14 2013 +0100

    Requires for python3 inside python3 package (bz #891381)

 python-d2to1.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python-d2to1.spec b/python-d2to1.spec
index a7afe3f..71d2275 100644
--- a/python-d2to1.spec
+++ b/python-d2to1.spec
@@ -8,7 +8,7 @@
 
 Name: python-%{upname}
 Version: 0.2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Allows using distutils2-like setup.cfg files with setup.py
 License: BSD
 
@@ -19,10 +19,6 @@ BuildRequires: python-devel python-setuptools
 Requires: python-setuptools
 
 BuildArch: noarch
-%if 0%{?with_python3}
-BuildRequires:  python3-devel python3-setuptools
-Requires:  python3-setuptools
-%endif # if with_python3
 
 %description
 d2to1 allows using distutils2-like setup.cfg files for a package's metadata 
@@ -33,6 +29,8 @@ and a very minimal setup.py which will slurp its arguments from the setup.cfg.
 %if 0%{?with_python3}
 %package -n python3-d2to1
 Summary: Allows using distutils2-like setup.cfg files with setup.py
+BuildRequires:  python3-devel python3-setuptools
+Requires:  python3-setuptools
 
 %description -n python3-d2to1
 d2to1 allows using distutils2-like setup.cfg files for a package's metadata 
@@ -85,6 +83,9 @@ popd
 
 
 %changelog
+* Fri Jan 04 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.2.7-2
+- Requires for python3 inside python3 package (bz #891381)
+
 * Wed Sep 26 2012 Sergio Pascual <sergiopr at fedoraproject.org> - 0.2.7-1
 - New upstream source
 - Removing upstream egg-info and defattr


More information about the scm-commits mailing list