[pyparsing] Python 3.2 in rawhide need special care of pycache files.
terjeros
terjeros at fedoraproject.org
Mon Oct 25 12:52:38 UTC 2010
commit 35fdcd09e8a7ee578c0c5b4819d41e397188539d
Author: Terje Røsten <terje.rosten at ntnu.no>
Date: Mon Oct 25 14:51:51 2010 +0200
Python 3.2 in rawhide need special care of pycache files.
pyparsing.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pyparsing.spec b/pyparsing.spec
index a58f55c..129dc74 100644
--- a/pyparsing.spec
+++ b/pyparsing.spec
@@ -104,6 +104,9 @@ rm -rf %{buildroot}
%{python3_sitelib}/pyparsing*egg-info
%{python3_sitelib}/pyparsing.py*
%endif # with_python3
+%if 0%{?fedora} >= 15 && 0%{?with_python3}
+%{python3_sitelib}/__pycache__/pyparsing*
+%endif # pycache
%files doc
%defattr(-,root,root,-)
More information about the scm-commits
mailing list