- Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in

the correct location.
- 0.9.2
f38
Luke Macken 18 years ago
parent 2fa2ddafe2
commit 47954499a5

@ -1 +1 @@
nose-0.9.1.tar.gz
nose-0.9.2.tar.gz

@ -0,0 +1,11 @@
--- setup.py.orig 2007-03-03 20:19:03.000000000 -0500
+++ setup.py 2007-03-03 20:19:07.000000000 -0500
@@ -38,7 +38,7 @@
download_url = \
'http://somethingaboutorange.com/mrl/projects/nose/nose-%s.tar.gz' \
% VERSION,
- data_files = [('man/man2', ['nosetests.1'])],
+ data_files = [('man/man1', ['nosetests.1'])],
package_data = {'': ['*.txt']},
packages = find_packages(),
entry_points = {

@ -3,14 +3,15 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: python-nose
Version: 0.9.1
Release: 2%{?dist}
Version: 0.9.2
Release: 1%{?dist}
Summary: A discovery-based unittest extension for Python
Group: Development/Languages
License: LGPL
URL: http://somethingaboutorange.com/mrl/projects/nose/
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
Patch0: %{name}-%{version}-mandir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -25,13 +26,15 @@ reasonably possible without resorting to too much magic.
%prep
%setup -q -n nose-%{version}
%patch0
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT \
--single-version-externally-managed --install-data=%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
@ -40,10 +43,16 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
%{_bindir}/nosetests
%{_mandir}/man1/nosetests.1.gz
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
%{python_sitelib}/nose
%changelog
* Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.9.2-1
- Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in
the correct location.
- 0.9.2
* Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.9.1-2
- Rebuild for python 2.5

@ -1 +1 @@
97771e186ff3680e1abe5566a939966c nose-0.9.1.tar.gz
d6c78e37b5a5a671e79b00784233dc63 nose-0.9.2.tar.gz

Loading…
Cancel
Save