From 1179283a5d5358677cd0d91fa94b67755cdb3e7efe8ae75cb5305c39e719f4dc Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 13 Jun 2007 08:31:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=11 --- python-setuptools.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 79c66d6..6222f0b 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -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 %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