Add patch to fix building on x86_64
This commit is contained in:
parent
2cd881b53d
commit
ee09a58952
11
python-dateutil-1.1-x86_64.patch
Normal file
11
python-dateutil-1.1-x86_64.patch
Normal 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",
|
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
Name: python-dateutil
|
Name: python-dateutil
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Powerful extensions to the standard datetime module
|
Summary: Powerful extensions to the standard datetime module
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: Python Software Foundation License
|
License: Python Software Foundation License
|
||||||
URL: http://labix.org/python-dateutil
|
URL: http://labix.org/python-dateutil
|
||||||
Source0: http://labix.org/download/python-dateutil/python-dateutil-%{version}.tar.bz2
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -20,6 +21,7 @@ module available in Python 2.3+.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -41,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{python_sitelib}/dateutil/
|
%{python_sitelib}/dateutil/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.1-2
|
||||||
- Rebuild for gcc/glibc changes
|
- Rebuild for gcc/glibc changes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user