add defines to match libuv (RHBZ#892601)

This commit is contained in:
T.C. Hollingsworth 2013-01-09 17:47:55 -07:00
parent c3da87ea07
commit d42282e17a

View File

@ -1,6 +1,6 @@
Name: nodejs Name: nodejs
Version: 0.9.5 Version: 0.9.5
Release: 4%{?dist} Release: 5%{?dist}
Summary: JavaScript runtime Summary: JavaScript runtime
License: MIT and ASL 2.0 and ISC and BSD License: MIT and ASL 2.0 and ISC and BSD
Group: Development/Languages Group: Development/Languages
@ -89,8 +89,8 @@ find deps/uv -name "*.c" -exec rm -f {} \;
find deps/uv -name "*.h" -exec rm -f {} \; find deps/uv -name "*.h" -exec rm -f {} \;
%build %build
export CFLAGS='%{optflags}' export CFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
export CXXFLAGS='%{optflags}' export CXXFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
./configure --prefix=%{_prefix} \ ./configure --prefix=%{_prefix} \
--shared-v8 \ --shared-v8 \
--shared-openssl \ --shared-openssl \
@ -158,6 +158,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
%doc LICENSE %doc LICENSE
%changelog %changelog
* Wed Jan 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-5
- add defines to match libuv (#892601)
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4 * Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4
- install development headers - install development headers
- add nodejs_sitearch macro - add nodejs_sitearch macro