Jan Matejek 2009-04-03 13:04:07 +00:00 committed by Git OBS Bridge
parent 938b91f3ba
commit c14ed32285

View File

@ -19,7 +19,15 @@
Name: python-setuptools
BuildRequires: fdupes python-base
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
%if 0%{?suse_version} >= 1110
BuildRequires: python-base
%else
BuildRequires: python-devel
Requires: python-devel
%endif
Version: 0.6c9
Release: 10
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
@ -65,7 +73,9 @@ install -p -m 0644 %{SOURCE1} %{SOURCE2} .
find $RPM_BUILD_ROOT%{py_sitedir} -name '*.exe' | xargs rm -f
find $RPM_BUILD_ROOT%{py_sitedir} -name '*.txt' | xargs chmod -x
chmod +x $RPM_BUILD_ROOT%{py_sitedir}/setuptools/command/easy_install.py
%if 0%{?suse_version} > 1020
%fdupes $RPM_BUILD_ROOT%{py_sitedir}
%endif
%clean
rm -rf $RPM_BUILD_ROOT