And another bug in sdist
This commit is contained in:
parent
72f65d9dc1
commit
54399fa299
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 2.0
|
Version: 2.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -30,7 +30,7 @@ Source0: http://pypi.python.org/packages/source/s/%{srcname}/%{srcname}-%
|
|||||||
Source1: psfl.txt
|
Source1: psfl.txt
|
||||||
Source2: zpl.txt
|
Source2: zpl.txt
|
||||||
# Fixed in upstream using a different method
|
# Fixed in upstream using a different method
|
||||||
Patch0: setuptools-sdist-postproc.patch
|
Patch0: setuptools-sdist.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -207,6 +207,9 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0-7
|
||||||
|
- And another bug in sdist
|
||||||
|
|
||||||
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0-6
|
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0-6
|
||||||
- Fix a bug in the sdist command
|
- Fix a bug in the sdist command
|
||||||
|
|
||||||
|
@ -15,3 +15,12 @@ Index: setuptools-2.0/setuptools/command/sdist.py
|
|||||||
yield svn_utils.joinpath(dirname,path)
|
yield svn_utils.joinpath(dirname,path)
|
||||||
def __call__(self, dirname=''):
|
def __call__(self, dirname=''):
|
||||||
path = svn_utils.joinpath(dirname, self.path)
|
path = svn_utils.joinpath(dirname, self.path)
|
||||||
|
@@ -48,7 +48,7 @@ class re_finder(object):
|
||||||
|
if os.path.isfile(path):
|
||||||
|
yield path
|
||||||
|
elif os.path.isdir(path):
|
||||||
|
- for item in self.find(path):
|
||||||
|
+ for item in self(path):
|
||||||
|
yield item
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user