Add patch to fix building on x86_64

This commit is contained in:
Orion Poplawski 2006-07-26 22:21:30 +00:00
parent 2cd881b53d
commit ee09a58952
2 changed files with 17 additions and 1 deletions

View File

@ -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",

View File

@ -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 <orion@cora.nwra.com> 1.1-3
- Add patch to fix building on x86_64
* Wed Feb 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-2
- Rebuild for gcc/glibc changes