[python-zope-component/el6: 2/3] Fixed python3 package files section Removed exclude *.txt for pyhon2 package as no txt files are gen

Tomas Dabasinskas tdabasin at fedoraproject.org
Mon Dec 3 06:01:59 UTC 2012


commit 5422601a40714d7cb7ddb090e0262e1f226c34e6
Author: Tomas Dabasinskas <tomas at redhat.com>
Date:   Mon Sep 10 19:55:05 2012 +1000

    Fixed python3 package files section
    Removed exclude *.txt for pyhon2 package as no txt files are generated during install

 python-zope-component.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python-zope-component.spec b/python-zope-component.spec
index 4e40a18..912ec29 100644
--- a/python-zope-component.spec
+++ b/python-zope-component.spec
@@ -7,7 +7,7 @@
 Summary: Zope Component Architecture
 Name: python-zope-component
 Version: 4.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
 License: ZPLv2.1
 Group: Development/Libraries
@@ -108,10 +108,10 @@ popd
 %doc LICENSE.txt CHANGES.txt COPYRIGHT.txt README.txt 
 %doc html/
 %{python_sitelib}/zope/component/
-%exclude %{python_sitelib}/zope/component/*.txt
 %{python_sitelib}/%{modname}-*.egg-info
 %{python_sitelib}/%{modname}-*-nspkg.pth
 
+%if 0%{?with_python3}
 %files -n python3-zope-component
 %doc LICENSE.txt CHANGES.txt COPYRIGHT.txt README.txt 
 %doc html/
@@ -119,9 +119,13 @@ popd
 %exclude %{python3_sitelib}/zope/component/*.txt
 %{python3_sitelib}/%{modname}-*.egg-info
 %{python3_sitelib}/%{modname}-*-nspkg.pth
-
+%endif
 
 %changelog
+* Mon Dec 03 2012 Tomas Dabasinskas <tomas at redhat.com> - 4.0.1-2
+- Fixed python3 package files section
+- Removed exclude *.txt for pyhon2 package as no txt files are generated during install
+
 * Thu Nov 29 2012 Ralph Bean <rbean at redhat.com> - 4.0.1-1
 - Updated to latest upstream.
 - Included python3 subpackage.


More information about the scm-commits mailing list