[python-zope-interface4/el6] Include sources in -debuginfo
Ralph Bean
ralph at fedoraproject.org
Thu Dec 6 20:20:20 UTC 2012
commit bcfbccfebb1d0bd793fc42bbd07ed711ec3ebabf
Author: Ralph Bean <rbean at redhat.com>
Date: Thu Dec 6 15:19:58 2012 -0500
Include sources in -debuginfo
python-zope-interface4.spec | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-zope-interface4.spec b/python-zope-interface4.spec
index 4ad8933..5d6474f 100644
--- a/python-zope-interface4.spec
+++ b/python-zope-interface4.spec
@@ -7,7 +7,7 @@
Name: python-zope-interface4
Version: 4.0.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Forward compatible package for Zope 3 Interface Infrastructure
Group: Development/Libraries
License: ZPLv2.1
@@ -44,9 +44,6 @@ easy_install -m --prefix %{buildroot}%{_usr} dist/*.egg
# Will put docs in %%{_docdir} instead
%{__rm} -f %{buildroot}%{python_sitelib}/%{modname}-%{version}*.egg/zope/interface/{,tests/}*.txt
-# C files don't need to be packaged
-%{__rm} -f %{buildroot}%{python_sitelib}/%{modname}-%{version}*.egg/zope/interface/_zope_interface_coptimizations.c
-
# Fix a permissions issue
find %{buildroot}%{python_sitelib}/%{modname}-%{version}*.egg \
-name "*.py" \
@@ -58,9 +55,14 @@ find %{buildroot}%{python_sitelib}/%{modname}-%{version}*.egg \
%files
%doc README.txt LICENSE.txt CHANGES.txt COPYRIGHT.txt docs/
%{python_sitelib}/%{modname}-%{version}*.egg
+# C files don't need to be packaged
+%exclude %{python_sitelib}/%{modname}-%{version}*.egg/zope/interface/_zope_interface_coptimizations.c
%changelog
+* Thu Dec 06 2012 Ralph Bean <rbean at redhat.com> - 4.0.2-6
+- Fix debuginfo. Change suggested by Ville Skyttä.
+
* Thu Dec 06 2012 Ralph Bean <rbean at redhat.com> - 4.0.2-5
- Install as a parallel installable egg.
- Made use of a modname global macro.
More information about the scm-commits
mailing list