[nodejs] add missing provides and %files entry
T.C. Hollingsworth
patches at fedoraproject.org
Fri Dec 28 01:49:44 UTC 2012
commit df8da1f8d67605b4f6cd76c3342f41133b3e526f
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Thu Dec 27 18:49:11 2012 -0700
add missing provides and %files entry
nodejs.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 49f0a29..5ba3341 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -18,6 +18,8 @@ BuildRequires: c-ares-devel
BuildRequires: zlib-devel
# Node.js requires some features from openssl 1.0.1 for SPDY support
BuildRequires: openssl-devel >= 1:1.0.1
+#virtual provides for automatic depedency generation
+Provides: nodejs(engine) = %{version}
# Exclusive archs must match v8
ExclusiveArch: %{ix86} x86_64 %{arm}
@@ -122,6 +124,7 @@ rm -f %{_defaultdocdir}/%{name}-docs-%{version}/html/nodejs.1
%doc ChangeLog LICENSE README.md AUTHORS
%{_bindir}/node
%{_mandir}/man1/node.*
+%{_sysconfdir}/rpm/macros.nodejs
%{_rpmconfigdir}/fileattrs/nodejs.attr
%{_rpmconfigdir}/nodejs*
%dir %{_prefix}/lib/node_modules
More information about the scm-commits
mailing list