|
|
@ -2,15 +2,17 @@
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
|
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define _alphatag a2
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-nose
|
|
|
|
Name: python-nose
|
|
|
|
Version: 0.9.3
|
|
|
|
Version: 0.10.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 0.1.%{_alphatag}%{?dist}
|
|
|
|
Summary: A discovery-based unittest extension for Python
|
|
|
|
Summary: A discovery-based unittest extension for Python
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: LGPL
|
|
|
|
License: LGPL
|
|
|
|
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
|
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
|
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
|
|
|
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}%{_alphatag}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -24,7 +26,7 @@ one that is intended to mimic the behavior of py.test as much as is
|
|
|
|
reasonably possible without resorting to too much magic.
|
|
|
|
reasonably possible without resorting to too much magic.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n nose-%{version}
|
|
|
|
%setup -q -n nose-%{version}%{_alphatag}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
@ -42,10 +44,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
|
|
|
|
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
|
|
|
|
%{_bindir}/nosetests
|
|
|
|
%{_bindir}/nosetests
|
|
|
|
%{_mandir}/man1/nosetests.1.gz
|
|
|
|
%{_mandir}/man1/nosetests.1.gz
|
|
|
|
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
|
|
|
|
%{python_sitelib}/nose-%{version}%{_alphatag}-py%{pyver}.egg-info
|
|
|
|
%{python_sitelib}/nose
|
|
|
|
%{python_sitelib}/nose
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jun 20 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.1.a2
|
|
|
|
|
|
|
|
- 0.10.0a2
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 2 2007 Luke Macken <lmacken@redhat.com> 0.9.3-1
|
|
|
|
* Sat Jun 2 2007 Luke Macken <lmacken@redhat.com> 0.9.3-1
|
|
|
|
- Latest upstream release
|
|
|
|
- Latest upstream release
|
|
|
|
- Remove python-nose-0.9.2-mandir.patch
|
|
|
|
- Remove python-nose-0.9.2-mandir.patch
|
|
|
|