[python-feedparser] execute feedparsertest.py now from current directory instead of parent one
Haïkel Guémar
hguemar at fedoraproject.org
Wed Feb 8 09:29:44 UTC 2012
commit 864858f5cbcb31aed033939ff10300d469a0a395
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date: Wed Feb 8 10:29:35 2012 +0100
execute feedparsertest.py now from current directory instead of parent one
python-feedparser.spec | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/python-feedparser.spec b/python-feedparser.spec
index 84a309c..a006de1 100644
--- a/python-feedparser.spec
+++ b/python-feedparser.spec
@@ -70,13 +70,15 @@ popd
%endif
-#%check
-#%{__python} feedparser/feedparsertest.py
-#%if 0%{?with_python3}
-#pushd %{py3dir}
-#%{__python3} feedparser/feedparsertest.py
-#popd
-#%endif
+%check
+pushd feedparser
+%{__python} feedparsertest.py
+popd
+%if 0%{?with_python3}
+pushd %{py3dir}/feedparser
+%{__python3} feedparsertest.py
+popd
+%endif
%clean
rm -rf %{buildroot}
More information about the scm-commits
mailing list