python-nose-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
  3. %define pkg_release 3%{?_dist_release}
  4. Name: python-nose
  5. Version: 0.10.4
  6. Release: %{pkg_release}
  7. Summary: A discovery-based unittest extension for Python
  8. Summary(ja): Python 用の発見型ユニットテスト・エクステンション
  9. Group: Development/Languages
  10. License: LGPLv2
  11. URL: http://somethingaboutorange.com/mrl/projects/nose/
  12. Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  14. BuildArch: noarch
  15. BuildRequires: python-devel, python-setuptools
  16. Requires: python-setuptools
  17. %description
  18. nose: a discovery-based unittest extension.
  19. nose provides an alternate test discovery and running process for unittest,
  20. one that is intended to mimic the behavior of py.test as much as is
  21. reasonably possible without resorting to too much magic.
  22. %prep
  23. %setup -q -n nose-%{version}
  24. %build
  25. CFLAGS="${RPM_OPT_FLAGS}" %{__python} setup.py build
  26. %install
  27. rm -rf ${RPM_BUILD_ROOT}
  28. %{__python} setup.py install -O1 --skip-build --root ${RPM_BUILD_ROOT} --install-data=%{_datadir}
  29. %clean
  30. rm -rf ${RPM_BUILD_ROOT}
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
  34. %{_bindir}/nosetests
  35. %{_mandir}/man1/nosetests.1.gz
  36. %{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
  37. %{python_sitelib}/nose
  38. %changelog
  39. * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-3
  40. - rebuild with python-2.7.2
  41. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.4-2
  42. - rebuild with python-2.6
  43. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.4-1
  44. - initial build for Vine Linux based on fedora package
  45. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.4-1
  46. - Update to 0.10.4 to fix 2.6 issues
  47. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.3-2
  48. - Rebuild for Python 2.6
  49. * Sat Aug 02 2008 Luke Macken <lmacken@redhat.com> 0.10.3-1
  50. - Update to 0.10.3
  51. * Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> 0.10.1-1
  52. - Update to 0.10.1
  53. * Mon Dec 3 2007 Luke Macken <lmacken@redhat.com> 0.10.0-2
  54. - Add python-setuptools to Requires (Bug #408491)
  55. * Tue Nov 27 2007 Luke Macken <lmacken@redhat.com> 0.10.0-1
  56. - 0.10.0
  57. * Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.3.b1
  58. - Update for python-setuptools changes in rawhide
  59. * Tue Aug 21 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.2.b1
  60. - 0.10.0b1
  61. - Update license tag to LGPLv2
  62. * Fri Jun 20 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.1.a2
  63. - 0.10.0a2
  64. * Sat Jun 2 2007 Luke Macken <lmacken@redhat.com> 0.9.3-1
  65. - Latest upstream release
  66. - Remove python-nose-0.9.2-mandir.patch
  67. * Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.9.2-1
  68. - Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in
  69. the correct location.
  70. - 0.9.2
  71. * Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.9.1-2
  72. - Rebuild for python 2.5
  73. * Fri Nov 24 2006 Luke Macken <lmacken@redhat.com> 0.9.1-1
  74. - 0.9.1
  75. * Fri Sep 8 2006 Luke Macken <lmacken@redhat.com> 0.9.0-1
  76. - 0.9.0
  77. * Wed Apr 19 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.7.2-1
  78. - Initial RPM release