- First build from the distribute codebase -- distribute-0.6.4.
- Remove svn patch as upstream has chosen to go with an easier change for now.
This commit is contained in:
parent
03aa0dfeea
commit
e1be309c18
@ -1 +1 @@
|
|||||||
setuptools-0.6c9.tar.gz
|
distribute-0.6.4.tar.gz
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
|
%global srcname distribute
|
||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 0.6c9
|
Version: 0.6.4
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: Python or ZPLv2.0
|
License: Python or ZPLv2.0
|
||||||
URL: http://pypi.python.org/pypi/setuptools
|
URL: http://pypi.python.org/pypi/%{srcname}
|
||||||
Source0: http://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||||
Source1: psfl.txt
|
Source1: psfl.txt
|
||||||
Source2: zpl.txt
|
Source2: zpl.txt
|
||||||
Patch0: http://bugs.python.org/setuptools/file55/svn_versioning_4.patch
|
# Upstream has chosen to improve this incrementally for now by whitelisting the
|
||||||
|
# new svn version.
|
||||||
|
#Patch0: http://bugs.python.org/setuptools/file55/svn_versioning_4.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -41,8 +45,7 @@ requiring setuptools.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n setuptools-%{version}
|
%setup -q -n %{srcname}-%{version}
|
||||||
%patch0 -p0 -b .svn16
|
|
||||||
find -name '*.txt' | xargs chmod -x
|
find -name '*.txt' | xargs chmod -x
|
||||||
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
|
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
|
||||||
|
|
||||||
@ -57,9 +60,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__python} setup.py install -O1 --skip-build \
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
--root $RPM_BUILD_ROOT \
|
|
||||||
--single-version-externally-managed
|
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/setuptools/tests
|
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/setuptools/tests
|
||||||
|
|
||||||
@ -74,18 +75,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc psfl.txt zpl.txt pkg_resources.txt setuptools.txt
|
%doc psfl.txt zpl.txt docs
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%exclude %{python_sitelib}/easy_install*
|
%exclude %{python_sitelib}/easy_install*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc psfl.txt zpl.txt EasyInstall.txt README.txt api_tests.txt
|
|
||||||
%{python_sitelib}/easy_install*
|
%{python_sitelib}/easy_install*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 12 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
|
||||||
|
- First build from the distribute codebase -- distribute-0.6.4.
|
||||||
|
- Remove svn patch as upstream has chosen to go with an easier change for now.
|
||||||
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6c9-5
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6c9-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user