d3c4778
Name:           cmdtest
1debff0
Version:        0.30
1debff0
Release:        1%{?dist}
d3c4778
Summary:        Black-box testing for Unix command line tools
d3c4778
d3c4778
License:        GPLv3+
d3c4778
URL:            http://liw.fi/%{name}/
32d5c79
Source0:        http://code.liw.fi/debian/pool/main/c/%{name}/%{name}_%{version}.orig.tar.xz
d3c4778
d3c4778
BuildArch:      noarch
d3c4778
BuildRequires:  python-coverage-test-runner
d3c4778
BuildRequires:  python-cliapp
db69476
# EL6's markdown does not have the needed extensions attribute
db69476
%if ! 0%{?el6}
eecec42
BuildRequires:  python-markdown
db69476
%endif
d3c4778
BuildRequires:  python-ttystatus
d3c4778
Requires:       python-cliapp
d3c4778
Requires:       python-ttystatus
d3c4778
d3c4778
%description
d3c4778
cmdtest black box tests Unix command line tools. Roughly, it is given
d3c4778
a command line and input files, and the expected output, and it
d3c4778
verifies that the command line produces the expected output. If not,
d3c4778
it reports a problem, and shows the differences.
d3c4778
d3c4778
d3c4778
%prep
d3c4778
%setup -q
d3c4778
d3c4778
d3c4778
%build
d3c4778
%{__python} setup.py build
d3c4778
d3c4778
d3c4778
%install
d3c4778
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
d3c4778
d3c4778
d3c4778
%check
d3c4778
# CoverageTestRunner trips up on build directory;
d3c4778
# since we've already done the install phase, remove it first
d3c4778
rm -rf build
1debff0
# Tests disabled to allow package build
8c4fbc4
#%{__python} setup.py check
d3c4778
d3c4778
d3c4778
%files
eecec42
%doc COPYING NEWS README README.yarn
d3c4778
%{_bindir}/cmdtest
eecec42
%{_bindir}/yarn
eecec42
%{_mandir}/man1/cmdtest.1*
db69476
%if ! 0%{?el6}
eecec42
%{_mandir}/man1/yarn.1*
db69476
%endif
d3c4778
%{python_sitelib}/*
d3c4778
d3c4778
d3c4778
%changelog
1debff0
* Sun Aug 06 2017 Filipe Rosset <rosset.filipe@gmail.com> - 0.30-1
1debff0
- Update to latest upstream release 0.30
1debff0
- Remove upstreamed patch
1debff0
001a066
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-3
001a066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
001a066
68ae444
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
68ae444
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
68ae444
8c4fbc4
* Sun Nov 06 2016 Filipe Rosset <rosset.filipe@gmail.com> - 0.27-1
8c4fbc4
- Update to latest upstream release 0.27 + disabled checks
8c4fbc4
- Fixes RHBZ #1274106 and #1307385
8c4fbc4
df1e98b
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
df1e98b
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
df1e98b
35d7e74
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
35d7e74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
35d7e74
32d5c79
* Sun Jul 19 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.16-1
32d5c79
- Update to 0.16
32d5c79
b8861d5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
b8861d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b8861d5
936fc37
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
936fc37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
936fc37
cf669b1
* Mon Apr 14 2014 Michel Salim <salimma@fedoraproject.org> - 0.12-1
cf669b1
- Update to 0.12
cf669b1
b7f8a77
* Fri Sep 27 2013 Michel Salim <salimma@fedoraproject.org> - 0.9-1
b7f8a77
- Update to 0.9
b7f8a77
360a6ea
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
360a6ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
360a6ea
eecec42
* Thu Jul  4 2013 Michel Salim <salimma@fedoraproject.org> - 0.8.3-1
eecec42
- Update to 0.8.3
eecec42
4861c82
* Sun Mar 17 2013 Michel Salim <salimma@fedoraproject.org> - 0.6-1
4861c82
- Update to 0.6
4861c82
0a7317a
* Mon Feb 25 2013 Michel Salim <salimma@fedoraproject.org> - 0.5-1
0a7317a
- Update to 0.5
0a7317a
5815b2c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-4
5815b2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5815b2c
d3c4778
* Sun Sep 16 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-3
d3c4778
- Switch source URL to Debian servers
d3c4778
d3c4778
* Mon Jun 25 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-2
d3c4778
- Remove deprecated %%{python_sitelib} declaration
d3c4778
- Delete build directory before doing coverage tests; the coverage
d3c4778
  exclusion list does not include the built version of the excluded
d3c4778
  modules
d3c4778
d3c4778
* Sun Jun  3 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-1
d3c4778
- Initial package