python-nose/python-nose.spec

77 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: python-nose
Version: 1.3.3
Release: 1mamba
Summary: nose extends unittest to make testing easier
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/nose/1.2.1
Source: https://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.
%prep
%setup -q -n nose-%{version}
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
%changelog
* Wed May 07 2014 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Wed Mar 12 2014 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- python 2.7 mass rebuild
* Thu May 09 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Wed Oct 06 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.11.3-2mamba
- rebuild as noarch
* Sat May 01 2010 gil <puntogil@libero.it> 0.11.3-1mamba
- update to 0.11.3
* Sun Jan 31 2010 gil <puntogil@libero.it> 0.11.1-1mamba
- update to 0.11.1
* Sat May 09 2009 gil <puntogil@libero.it> 0.11.0-1mamba
- update to 0.11.0
* Tue Dec 30 2008 gil <puntogil@libero.it> 0.10.4-1mamba
- package created by autospec