[cmdtest] Initial import

Michel Alexandre Salim salimma at fedoraproject.org
Sun Sep 16 01:55:17 UTC 2012


commit d3c47787a5c9f3c285b714b82d450ea1f18edc4f
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Sun Sep 16 08:50:34 2012 +0700

    Initial import

 .gitignore   |    1 +
 cmdtest.spec |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..88fdd39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cmdtest_0.3.orig.tar.gz
diff --git a/cmdtest.spec b/cmdtest.spec
new file mode 100644
index 0000000..4cc6f8b
--- /dev/null
+++ b/cmdtest.spec
@@ -0,0 +1,62 @@
+Name:           cmdtest
+Version:        0.3
+Release:        3%{?dist}
+Summary:        Black-box testing for Unix command line tools
+
+# ask upstream to include license text
+License:        GPLv3+
+URL:            http://liw.fi/%{name}/
+Source0:        http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.orig.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-coverage-test-runner
+BuildRequires:  python-cliapp
+BuildRequires:  python-ttystatus
+Requires:       python-cliapp
+Requires:       python-ttystatus
+
+%description
+cmdtest black box tests Unix command line tools. Roughly, it is given
+a command line and input files, and the expected output, and it
+verifies that the command line produces the expected output. If not,
+it reports a problem, and shows the differences.
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%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
+
+
+%files
+%doc NEWS README
+%{_mandir}/man1/cmdtest.1*
+%{_bindir}/cmdtest
+%{python_sitelib}/*
+
+
+%changelog
+* Sun Sep 16 2012 Michel Salim <salimma at fedoraproject.org> - 0.3-3
+- Switch source URL to Debian servers
+
+* Mon Jun 25 2012 Michel Salim <salimma at 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 at fedoraproject.org> - 0.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..0a382e3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+63d39275c678a873aeb0cb3190e7488b  cmdtest_0.3.orig.tar.gz


More information about the scm-commits mailing list