diff --git a/distribute-0.6.13-tests.patch b/distribute-0.6.13-tests.patch new file mode 100644 index 0000000..3da1be7 --- /dev/null +++ b/distribute-0.6.13-tests.patch @@ -0,0 +1,25 @@ +diff -uNr distribute-0.6.13.pristine/MANIFEST.in distribute-0.6.13/MANIFEST.in +--- distribute-0.6.13.pristine/MANIFEST.in 2009-12-28 13:44:40.000000000 -0500 ++++ distribute-0.6.13/MANIFEST.in 2010-06-10 19:43:39.508527227 -0400 +@@ -1,5 +1,6 @@ + recursive-include setuptools *.py *.txt *.exe + recursive-include tests *.py *.c *.pyx *.txt ++recursive-include setuptools/tests *.html + recursive-include docs *.py *.txt *.conf *.css *.css_t Makefile indexsidebar.html + include *.py + include *.txt +diff -uNr distribute-0.6.13.pristine/setuptools/tests/indexes/test_links_priority/external.html distribute-0.6.13/setuptools/tests/indexes/test_links_priority/external.html +--- distribute-0.6.13.pristine/setuptools/tests/indexes/test_links_priority/external.html 1969-12-31 19:00:00.000000000 -0500 ++++ distribute-0.6.13/setuptools/tests/indexes/test_links_priority/external.html 2010-06-10 19:40:53.190527048 -0400 +@@ -0,0 +1,3 @@ ++ ++bad old link ++ +diff -uNr distribute-0.6.13.pristine/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html distribute-0.6.13/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html +--- distribute-0.6.13.pristine/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html 1969-12-31 19:00:00.000000000 -0500 ++++ distribute-0.6.13/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html 2010-06-10 19:40:53.187526243 -0400 +@@ -0,0 +1,4 @@ ++ ++foobar-0.1.tar.gz
++external homepage
++ diff --git a/python-setuptools.spec b/python-setuptools.spec index d1e8616..3c34ac2 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -8,7 +8,7 @@ Name: python-setuptools Version: 0.6.13 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Easily build and distribute Python packages Group: Applications/System @@ -17,6 +17,7 @@ URL: http://pypi.python.org/pypi/%{srcname} Source0: http://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz Source1: psfl.txt Source2: zpl.txt +Patch0: distribute-0.6.13-tests.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -54,6 +55,8 @@ execute the software that requires pkg_resources.py. %prep %setup -q -n %{srcname}-%{version} +%patch0 -p1 + find -name '*.txt' | xargs chmod -x %if 0%{?with_python3} @@ -128,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT %endif # with_python3 %changelog +* Thu Jun 10 2010 Toshio Kuratomi - 0.6.13-2 +- Include data that's needed for running tests + * Thu Jun 10 2010 Toshio Kuratomi - 0.6.13-1 - Update to upstream 0.6.13 - Minor specfile formatting fixes