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