From 35fdcd09e8a7ee578c0c5b4819d41e397188539d Mon Sep 17 00:00:00 2001 From: Terje R�sten Date: Oct 25 2010 12:51:51 +0000 Subject: Python 3.2 in rawhide need special care of pycache files. --- 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,-)