- Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in
the correct location. - 0.9.2
This commit is contained in:
parent
2fa2ddafe2
commit
47954499a5
@ -1 +1 @@
|
|||||||
nose-0.9.1.tar.gz
|
nose-0.9.2.tar.gz
|
||||||
|
11
python-nose-0.9.2-mandir.patch
Normal file
11
python-nose-0.9.2-mandir.patch
Normal file
@ -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]")}
|
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
||||||
|
|
||||||
Name: python-nose
|
Name: python-nose
|
||||||
Version: 0.9.1
|
Version: 0.9.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?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}.tar.gz
|
||||||
|
Patch0: %{name}-%{version}-mandir.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -25,13 +26,15 @@ reasonably possible without resorting to too much magic.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n nose-%{version}
|
%setup -q -n nose-%{version}
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -40,10 +43,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,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
|
||||||
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
|
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
|
||||||
%{python_sitelib}/nose
|
%{python_sitelib}/nose
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.9.1-2
|
||||||
- Rebuild for python 2.5
|
- Rebuild for python 2.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user