[python-zope-interface] Wrap files section in a python3 conditional.

Ralph Bean ralph at fedoraproject.org
Thu Dec 6 17:38:19 UTC 2012


commit 253faf741a22968f4571121473bb2579120dec10
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Dec 6 12:38:07 2012 -0500

    Wrap files section in a python3 conditional.

 python-zope-interface.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-zope-interface.spec b/python-zope-interface.spec
index 24818b1..954826f 100644
--- a/python-zope-interface.spec
+++ b/python-zope-interface.spec
@@ -8,7 +8,7 @@
 
 Name:		python-zope-interface
 Version:	4.0.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Zope 3 Interface Infrastructure
 Group:		Development/Libraries
 License:	ZPLv2.1
@@ -112,6 +112,7 @@ popd
 %{python_sitearch}/zope.interface-*.egg-info
 %{python_sitearch}/zope.interface-*-nspkg.pth
 
+%if 0%{?with_python3}
 %files -n python3-zope-interface
 %doc README.txt LICENSE.txt CHANGES.txt COPYRIGHT.txt docs/
 %{python3_sitearch}/zope/interface/
@@ -121,8 +122,12 @@ popd
 %exclude %{python3_sitearch}/zope/interface/common/tests/
 %{python3_sitearch}/zope.interface-*.egg-info
 %{python3_sitearch}/zope.interface-*-nspkg.pth
+%endif
 
 %changelog
+* Thu Dec 06 2012 Ralph Bean <rbean at redhat.com> - 4.0.2-4
+- Wrap files section in a python3 conditional.
+
 * Thu Nov 29 2012 Ralph Bean <rbean at redhat.com> - 4.0.2-3
 - Typofix to python-zope-event requirement.
 


More information about the scm-commits mailing list