Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-setuptools
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 15
[-]
[+]
Changed
python-setuptools.spec
@@ -18,6 +18,9 @@ Provides: python-setuptools = %{_setuptoolsver} Requires: python >= %{py_ver} BuildRequires: python-devel +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif %description setuptools is a collection of enhancements to the Python distutils (for Python @@ -42,7 +45,13 @@ %install %__python ./setup.py install \ --root="%{buildroot}" \ - --prefix=%{_prefix} + --prefix=%{_prefix} \ + --install-lib="%{py_sitedir}" + +%if 0%{?suse_version} > 1020 +# create hardlinks for the rest +%fdupes %{buildroot} +%endif %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} @@ -62,13 +71,15 @@ %{py_sitedir}/distribute-%{version}-py%{py_ver}.egg-info/dependency_links.txt %{py_sitedir}/distribute-%{version}-py%{py_ver}.egg-info/entry_points.txt %{py_sitedir}/distribute-%{version}-py%{py_ver}.egg-info/top_level.txt -%if 0%{?suse_version} >= 1100 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?sl_version} || 0%{?fedora_version} +%if 0%{?suse_version} >= 1020 || 0%{?centos_version} >= 6 || 0%{?rhel_version} >= 600 || 0%{?sl_version} >= 600 || 0%{?fedora_version} %{py_sitedir}/distribute-%{version}-py%{py_ver}.egg-info/zip-safe %else %{py_sitedir}/distribute-%{version}-py%{py_ver}.egg-info/not-zip-safe %endif +%if 0%{?suse_version} %{py_sitedir}/setuptools-%{_setuptoolsver}-py%{py_ver}.egg-info %{py_sitedir}/setuptools.pth +%endif %changelog * Mon May 31 2010 Carsten Schoene <cs@linux-administrator.com> - 0.6c11-1