zvetlik pushed to nodejs-npm-install-checks (f20). "Update to 1.0.5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 28 10:50:41 UTC 2015
From bae96e515b36c07269d5532faa9770ffc32f960f Mon Sep 17 00:00:00 2001
From: Zuzana Svetlikova <zsvetlik at redhat.com>
Date: Thu, 28 May 2015 12:39:39 +0200
Subject: Update to 1.0.5
diff --git a/.gitignore b/.gitignore
index c6cef7c..595fc3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/npm-install-checks-1.0.4.tgz
+/npm-install-checks-1.0.5.tgz
diff --git a/nodejs-npm-install-checks.spec b/nodejs-npm-install-checks.spec
index bbbbf29..d4b644d 100644
--- a/nodejs-npm-install-checks.spec
+++ b/nodejs-npm-install-checks.spec
@@ -1,13 +1,12 @@
-%{?scl:%scl_package nodejs-npm-install-checks}
-%{!?scl:%global pkg_name %{name}}
%{?nodejs_find_provides_and_requires}
%global enable_tests 1
+%global npm_name npm-install-checks
-Name: %{?scl_prefix}nodejs-npm-install-checks
-Version: 1.0.4
-Release: 5%{?dist}
-Summary: Install checks for NPM
+Name: nodejs-npm-install-checks
+Version: 1.0.5
+Release: 1%{?dist}
+Summary: Checks that npm runs during the installation of a module
License: BSD
Url: https://github.com/npm/npm-install-checks
Source: http://registry.npmjs.org/npm-install-checks/-/npm-install-checks-%{version}.tgz
@@ -15,6 +14,9 @@ BuildRequires: nodejs-packaging
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
+BuildRequires: npm(npmlog)
+Buildrequires: npm(semver)
+
%if 0%{?enable_tests}
BuildRequires: npm(tap)
BuildRequires: npm(rimraf)
@@ -33,24 +35,31 @@ A package that contains checks that npm runs during the installation.
%build
%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/npm-install-checks
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pr package.json index.js \
- %{buildroot}%{nodejs_sitelib}/npm-install-checks/
+ %{buildroot}%{nodejs_sitelib}/%{npm_name}
%{nodejs_symlink_deps}
%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
-tap test?*.js
+tap test/*.js
%endif
%files
%doc README.md
%license LICENSE
-%{nodejs_sitelib}/npm-install-checks
+%{nodejs_sitelib}/%{npm_name}
%changelog
+* Wed May 27 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.5-1
+- New upstream release
+- fixed typo in %%check
+- added BuildRequires for dependencies
+- removed scl prefixes
+- changed Summary to match package.json
+
* Fri Mar 20 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-5
- Changed versions of packages fixed by %%nodejs_fixdep macros
- moved macros from %%build to %%prep
diff --git a/sources b/sources
index 1df1601..09fc354 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-906f368ab01521d46b2937ab32938137 npm-install-checks-1.0.4.tgz
+72997d88cf249ba2ab284eb3045841c5 npm-install-checks-1.0.5.tgz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nodejs-npm-install-checks.git/commit/?h=f20&id=bae96e515b36c07269d5532faa9770ffc32f960f
More information about the scm-commits
mailing list