summaryrefslogtreecommitdiffstats
path: root/admin/python-ttystatus.spec
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-07 11:55:10 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-07 11:55:10 +0700
commitd59ef81412258093252314b2cad58e04329a3efc (patch)
tree46398b8d7fd639b3709bd6438b5e05522e89a6ee /admin/python-ttystatus.spec
parent2f737961b786e067c941ddc72a402c1e564fc560 (diff)
downloadspecs-d59ef81412258093252314b2cad58e04329a3efc.tar.gz
specs-d59ef81412258093252314b2cad58e04329a3efc.tar.xz
specs-d59ef81412258093252314b2cad58e04329a3efc.zip
ttystatus: remove unneeded declaration of python_sitelib, and fix checks
Diffstat (limited to 'admin/python-ttystatus.spec')
-rw-r--r--admin/python-ttystatus.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/admin/python-ttystatus.spec b/admin/python-ttystatus.spec
index 93e7d5d..c731b0f 100644
--- a/admin/python-ttystatus.spec
+++ b/admin/python-ttystatus.spec
@@ -1,10 +1,8 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-
%global pkgname ttystatus
Name: python-%{pkgname}
Version: 0.18
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Progress and status updates on terminals for Python
License: GPLv3+
@@ -53,8 +51,9 @@ make
%check
-# note: does not actually fail when code coverage is incomplete, but
-# in any case the result should be advisory
+# CoverageTestRunner trips up on build directory;
+# since we've already done the install phase, remove it first
+rm -rf build
make check
@@ -67,5 +66,11 @@ make check
%changelog
+* Thu Jun 7 2012 Michel Salim <salimma@fedoraproject.org> - 0.18-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.18-1
- Initial package