[python-zope-event] Fix python3 conditional block.

Ralph Bean ralph at fedoraproject.org
Wed Oct 15 13:35:42 UTC 2014


commit 172097dd278f7a4e9a84791a440735a584b40c9b
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Oct 15 09:35:32 2014 -0400

    Fix python3 conditional block.

 python-zope-event.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-zope-event.spec b/python-zope-event.spec
index 6259251..0b1a362 100644
--- a/python-zope-event.spec
+++ b/python-zope-event.spec
@@ -4,7 +4,7 @@
 
 Name:           python-zope-event
 Version:        4.0.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Zope Event Publication
 Group:          Development/Languages
 License:        ZPLv2.1
@@ -15,8 +15,12 @@ BuildArch:      noarch
 
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+
+%if 0%{?with_python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
+%endif
+
 BuildRequires:  python-sphinx
 
 %description
@@ -107,6 +111,9 @@ popd
 %endif
 
 %changelog
+* Wed Oct 15 2014 Ralph Bean <rbean at redhat.com> - 4.0.3-2
+- Fix a python3 conditional block.
+
 * Mon Jul 21 2014 Ralph Bean <rbean at redhat.com> - 4.0.3-1
 - Latest upstream.
 


More information about the scm-commits mailing list