OBS User unknown 2007-06-13 08:31:39 +00:00 committed by Git OBS Bridge
parent b165309b65
commit 1179283a5d

View File

@ -3,7 +3,7 @@ Name: python-%{modname}
URL: http://peak.telecommunity.com/DevCenter/setuptools URL: http://peak.telecommunity.com/DevCenter/setuptools
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily! Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
Version: 0.6 Version: 0.6
%define extraver c5 %define extraver c6
Release: 1 Release: 1
License: PSF or ZPL License: PSF or ZPL
Group: Development/Libraries/Python Group: Development/Libraries/Python
@ -23,26 +23,28 @@ Authors:
Phillip J. Eby <peak@eby-sarna.com> Phillip J. Eby <peak@eby-sarna.com>
%prep %prep
%setup -q -n %{modname}-%{version}%{extraver} %setup -q -n %{modname}-%{version}%{extraver}
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build %{__python} setup.py build
%install %install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
grep ".exe" INSTALLED_FILES %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%files -f INSTALLED_FILES %files -f INSTALLED_FILES
%defattr(-,root,root) %defattr(-,root,root)
%doc EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt %doc EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt
%exclude %{py_sitedir}/setuptools/*.exe
%changelog %changelog
* Sun Jan 28 2007 - judas_iscariote@shorewall.net * Sun Jan 28 2007 - judas_iscariote@shorewall.net
- update to version 0.6c5 - update to version 0.6c5