diff --git a/python-dateutil-1.1-x86_64.patch b/python-dateutil-1.1-x86_64.patch new file mode 100644 index 0000000..0b46229 --- /dev/null +++ b/python-dateutil-1.1-x86_64.patch @@ -0,0 +1,11 @@ +--- python-dateutil-1.1/setup.py.x86_64 2006-07-26 14:56:21.000000000 -0600 ++++ python-dateutil-1.1/setup.py 2006-07-26 15:02:00.000000000 -0600 +@@ -9,7 +9,7 @@ + os.unlink("MANIFEST") + + # Get PYTHONLIB with no prefix so --prefix installs work. +-PYTHONLIB = join(get_python_lib(standard_lib=1, prefix=''), 'site-packages') ++PYTHONLIB = get_python_lib(prefix='') + ZONEINFO = join("dateutil", "zoneinfo") + + setup(name="python-dateutil", diff --git a/python-dateutil.spec b/python-dateutil.spec index 6a521f8..153f6cb 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -2,13 +2,14 @@ Name: python-dateutil Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Powerful extensions to the standard datetime module Group: Development/Languages License: Python Software Foundation License URL: http://labix.org/python-dateutil Source0: http://labix.org/download/python-dateutil/python-dateutil-%{version}.tar.bz2 +Patch0: python-dateutil-1.1-x86_64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -20,6 +21,7 @@ module available in Python 2.3+. %prep %setup -q +%patch -p1 %build @@ -41,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/dateutil/ %changelog +* Wed Jul 26 2006 Orion Poplawski 1.1-3 +- Add patch to fix building on x86_64 + * Wed Feb 15 2006 Orion Poplawski 1.1-2 - Rebuild for gcc/glibc changes