need common.gypi too

This commit is contained in:
T.C. Hollingsworth 2013-01-05 03:15:29 -07:00
parent 3a234dfcc8
commit 48d6c59d89

View File

@ -136,6 +136,10 @@ rm -f %{_defaultdocdir}/%{name}-docs-%{version}/html/nodejs.1
mkdir -p %{buildroot}%{_includedir}/node mkdir -p %{buildroot}%{_includedir}/node
cp -p src/*.h %{buildroot}%{_includedir}/node cp -p src/*.h %{buildroot}%{_includedir}/node
#node-gyp needs common.gypi too
mkdir -p %{_datadir}/node
cp -p common.gypi %{_datadir}/node
%files %files
%doc ChangeLog LICENSE README.md AUTHORS %doc ChangeLog LICENSE README.md AUTHORS
%{_bindir}/node %{_bindir}/node
@ -147,6 +151,7 @@ cp -p src/*.h %{buildroot}%{_includedir}/node
%files devel %files devel
%{_includedir}/node %{_includedir}/node
%{_datadir}/node
%files docs %files docs
%{_defaultdocdir}/%{name}-docs-%{version} %{_defaultdocdir}/%{name}-docs-%{version}