summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-25 16:49:43 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-25 16:49:43 +0700
commit6f88e8c523778b4adfdd68701b22b8301c849f9d (patch)
tree2bd3e37996266d8b3a728b91e4fd2f20b1be98ea
parent469e72c5ad3b17b10b6a0a199e633301193b4bc2 (diff)
downloadspecs-6f88e8c523778b4adfdd68701b22b8301c849f9d.tar.gz
specs-6f88e8c523778b4adfdd68701b22b8301c849f9d.tar.xz
specs-6f88e8c523778b4adfdd68701b22b8301c849f9d.zip
cmdtest: drop python_sitelib, clean up build before running tests
-rw-r--r--admin/cmdtest.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/admin/cmdtest.spec b/admin/cmdtest.spec
index 85245a6..a786267 100644
--- a/admin/cmdtest.spec
+++ b/admin/cmdtest.spec
@@ -1,8 +1,6 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-
Name: cmdtest
Version: 0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Black-box testing for Unix command line tools
# ask upstream to include license text
@@ -37,6 +35,9 @@ it reports a problem, and shows the differences.
%check
+# CoverageTestRunner trips up on build directory;
+# since we've already done the install phase, remove it first
+rm -rf build
%{__python} setup.py check
@@ -48,5 +49,11 @@ it reports a problem, and shows the differences.
%changelog
+* Mon Jun 25 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-2
+- Remove deprecated %%{python_sitelib} declaration
+- Delete build directory before doing coverage tests; the coverage
+ exclusion list does not include the built version of the excluded
+ modules
+
* Sun Jun 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-1
- Initial package