|
@@ -1,10 +1,10 @@
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
|
|
|
-%define pkg_release 3%{?_dist_release}
|
|
|
+%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
Name: python-nose
|
|
|
-Version: 0.10.4
|
|
|
+Version: 1.1.2
|
|
|
Release: %{pkg_release}
|
|
|
Summary: A discovery-based unittest extension for Python
|
|
|
Summary(ja): Python 用の発見型ユニットテスト・エクステンション
|
|
@@ -13,6 +13,8 @@ Group: Development/Languages
|
|
|
License: LGPLv2
|
|
|
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
|
|
+Patch0: no-google-analytics.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
BuildArch: noarch
|
|
@@ -30,6 +32,7 @@ reasonably possible without resorting to too much magic.
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n nose-%{version}
|
|
|
+%patch0 -p1
|
|
|
|
|
|
%build
|
|
|
CFLAGS="${RPM_OPT_FLAGS}" %{__python} setup.py build
|
|
@@ -45,11 +48,16 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
|
|
|
%{_bindir}/nosetests
|
|
|
+%{_bindir}/nosetests-2.7
|
|
|
%{_mandir}/man1/nosetests.1.gz
|
|
|
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
|
|
|
%{python_sitelib}/nose
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jun 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.2-1
|
|
|
+- new upstream release
|
|
|
+- added Patch0 from Debian sid to delete google analytics
|
|
|
+
|
|
|
* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-3
|
|
|
- rebuild with python-2.7.2
|
|
|
|