OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=11
This commit is contained in:
parent
b165309b65
commit
1179283a5d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user