zvetlik pushed to nodejs-defaults (f20). "Rebuilt with new upstream release containing license text (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 22 14:06:37 UTC 2015


From 749f8c6667405900423ea9daa08fd3e4b95ad1eb Mon Sep 17 00:00:00 2001
From: Zuzana Svetlikova <zsvetlik at redhat.com>
Date: Fri, 22 May 2015 16:06:29 +0200
Subject: Rebuilt with new upstream release containing license text

- minor changes

diff --git a/.gitignore b/.gitignore
index 6138df0..096d86a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /defaults-1.0.0.tgz
+/defaults-1.0.2.tgz
diff --git a/nodejs-defaults.spec b/nodejs-defaults.spec
index 444f0d0..386d3d8 100644
--- a/nodejs-defaults.spec
+++ b/nodejs-defaults.spec
@@ -1,43 +1,46 @@
 %{?scl:%scl_package nodejs-defaults}
 %{!?scl:%global pkg_name %{name}}
 
+%global npm_name defaults
+%{?nodejs_find_provides_and_requires}
+
 %global enable_tests 1
 
-Name:		%{?scl_prefix}nodejs-defaults
-Version:	1.0.0
-Release:	3%{?dist}
-Summary:	A simple one level options merge utility
-License:	MIT
+Name:		nodejs-defaults
+Version:	1.0.2
+Release:	1%{?dist}
+Summary:	Merge single level defaults over a config object
 Url:		https://github.com/tmpvar/defaults
-Source0:	http://registry.npmjs.org/defaults/-/defaults-%{version}.tgz
-Source1:	https://raw.githubusercontent.com/tmpvar/defaults/master/LICENSE
-#https://github.com/tmpvar/defaults/pull/1
-BuildRequires:	nodejs-packaging
-BuildRequires:	nodejs-clone
+Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
+License:	MIT
 BuildArch:	noarch
 ExclusiveArch:	%{nodejs_arches} noarch
 
-%{?nodejs_find_provides_and_requires}
+BuildRequires:	nodejs-devel
+BuildRequires:	nodejs-packaging
 
 %if 0%{?enable_tests}
-BuildRequires:  npm(tap)
+BuildRequires:	npm(tap)
 %endif
 
+BuildRequires:	npm(clone)
+
+Requires:	npm(clone)
+
 %description
-Merge single level defaults over a config object.
+Merge single level defaults over a config object
 
 %prep
 %setup -q -n package
-%{nodejs_fixdep} clone '=0.2.0'
-
-cp -p %{SOURCE1} .
 
 %build
+#nothing to do
 
 %install
-mkdir -p %{buildroot}%{nodejs_sitelib}/defaults
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
+
 cp -pr package.json index.js \
-	%{buildroot}%{nodejs_sitelib}/defaults/
+	%{buildroot}%{nodejs_sitelib}/%{npm_name}
 
 %{nodejs_symlink_deps}
 
@@ -48,13 +51,22 @@ node test.js
 %endif
 
 %files
+%{nodejs_sitelib}/defaults
+
 %doc README.md
 %license LICENSE
-%{nodejs_sitelib}/defaults
 
 %changelog
+* Fri May 22 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.2-1
+- Rebuilt with new upstream release containing license text
+- minor changes
+
 * Tue Mar 17 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.0-3
-- Added %check, %license, nodejs-clone dependency, changed ExclusiveArch, removed Group, BuildRoot and %defattr, fixed dependency on nodejs-packaging
+- Added %%check, %%license, nodejs-clone dependency
+- changed ExclusiveArch
+- removed Group, BuildRoot and %%defattr
+- fixed dependency on nodejs-packaging
 
 * Mon Jan 12 2015 Tomas Hrcka <thrcka at redhat.com> - 1.0.0-2
 - Initial build
+
diff --git a/sources b/sources
index 2cd90bd..9fff9d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3cd8e560f49376ed3a51e85d8be18e37  defaults-1.0.0.tgz
+5fef718b2d85a5ff78011e87da359a0c  defaults-1.0.2.tgz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-defaults.git/commit/?h=f20&id=749f8c6667405900423ea9daa08fd3e4b95ad1eb


More information about the scm-commits mailing list