[nodejs-dryice] Add missing nodejs_symlink_deps
Jamie Nguyen
jamielinux at fedoraproject.org
Sat May 10 14:02:15 UTC 2014
commit 91c27520fd23947837b4a686378f41823979f179
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat May 10 15:02:15 2014 +0100
Add missing nodejs_symlink_deps
nodejs-dryice.spec | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/nodejs-dryice.spec b/nodejs-dryice.spec
index cf93bb9..c980af5 100644
--- a/nodejs-dryice.spec
+++ b/nodejs-dryice.spec
@@ -2,9 +2,15 @@
Name: nodejs-dryice
Version: 0.4.10
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A CommonJS/RequireJS packaging tool for browser scripts
+Group: System Environment/Libraries
+License: ASL 2.0
+URL: https://github.com/mozilla/dryice
+Source0: http://registry.npmjs.org/dryice/-/dryice-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
@@ -12,12 +18,6 @@ ExclusiveArch: %{nodejs_arches} noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif
-Group: System Environment/Libraries
-License: ASL 2.0
-URL: https://github.com/mozilla/dryice
-Source0: http://registry.npmjs.org/dryice/-/dryice-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildRequires: nodejs-packaging
%description
@@ -27,23 +27,33 @@ It is basically just a copy function. It takes input from a set of input files,
which can be specified in various ways, optionally filters them and outputs them
to something else.
+
%prep
%setup -q -n package
+
%install
rm -rf %buildroot
mkdir -p %{buildroot}%{nodejs_sitelib}/dryice
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/dryice
+%nodejs_symlink_deps
+
+
%clean
rm -rf %buildroot
+
%files
%defattr(-,root,root,-)
%{nodejs_sitelib}/dryice
%doc README.md LICENSE
+
%changelog
+* Sat May 10 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.10-5
+- add missing nodejs_symlink_deps
+
* Fri Jan 03 2014 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.4.10-4
- add macro to invoke dependency generator on EL6
More information about the scm-commits
mailing list