rpms/python-setuptools/devel distribute-0.6.13-tests.patch, NONE, 1.1 python-setuptools.spec, 1.35, 1.36

Toshio くらとみ toshio at fedoraproject.org
Thu Jun 10 23:53:37 UTC 2010


Author: toshio

Update of /cvs/pkgs/rpms/python-setuptools/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1867

Modified Files:
	python-setuptools.spec 
Added Files:
	distribute-0.6.13-tests.patch 
Log Message:

* Thu Jun 10 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.6.13-2
- Include data that's needed for running tests


distribute-0.6.13-tests.patch:
 MANIFEST.in                                                           |    1 +
 setuptools/tests/indexes/test_links_priority/external.html            |    3 +++
 setuptools/tests/indexes/test_links_priority/simple/foobar/index.html |    4 ++++
 3 files changed, 8 insertions(+)

--- NEW FILE distribute-0.6.13-tests.patch ---
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 @@
+<html><body>
+<a href="/foobar-0.1.tar.gz#md5=1__bad_md5___">bad old link</a>
+</body></html>
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 @@
+<html><body>
+<a href="/foobar-0.1.tar.gz#md5=0_correct_md5">foobar-0.1.tar.gz</a><br/>
+<a href="../../external.html" rel="homepage">external homepage</a><br/>
+</body></html>


Index: python-setuptools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-setuptools/devel/python-setuptools.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- python-setuptools.spec	10 Jun 2010 22:57:40 -0000	1.35
+++ python-setuptools.spec	10 Jun 2010 23:53:37 -0000	1.36
@@ -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/p
 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_r
 
 %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 <toshio at fedoraproject.org> - 0.6.13-2
+- Include data that's needed for running tests
+
 * Thu Jun 10 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.6.13-1
 - Update to upstream 0.6.13
 - Minor specfile formatting fixes



More information about the scm-commits mailing list