zvetlik pushed to nodejs-npm-install-checks (master). "Initial import (#1199284)."

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 11:58:23 UTC 2015


>From 0757cb9f6b88c44994e8a34e3f0ea2bc5a738b03 Mon Sep 17 00:00:00 2001
From: Zuzana Svetlikova <zsvetlik at redhat.com>
Date: Fri, 27 Mar 2015 12:57:50 +0100
Subject: Initial import (#1199284).


diff --git a/.gitignore b/.gitignore
index e69de29..c6cef7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/npm-install-checks-1.0.4.tgz
diff --git a/nodejs-npm-install-checks.spec b/nodejs-npm-install-checks.spec
new file mode 100644
index 0000000..bbbbf29
--- /dev/null
+++ b/nodejs-npm-install-checks.spec
@@ -0,0 +1,72 @@
+%{?scl:%scl_package nodejs-npm-install-checks}
+%{!?scl:%global pkg_name %{name}}
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 1
+
+Name:		%{?scl_prefix}nodejs-npm-install-checks
+Version:	1.0.4
+Release:	5%{?dist}
+Summary:	Install checks for NPM
+License:	BSD
+Url:		https://github.com/npm/npm-install-checks
+Source:		http://registry.npmjs.org/npm-install-checks/-/npm-install-checks-%{version}.tgz
+BuildRequires:	nodejs-packaging
+BuildArch:	noarch
+ExclusiveArch:	%{nodejs_arches} noarch
+
+%if 0%{?enable_tests}
+BuildRequires:	npm(tap)
+BuildRequires:	npm(rimraf)
+BuildRequires:	npm(mkdirp)
+%endif
+
+%description
+A package that contains checks that npm runs during the installation. 
+
+%prep
+%setup -q -n package
+
+%{nodejs_fixdep} semver '2.x'
+%{nodejs_fixdep} npmlog '0.0.x'
+
+%build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/npm-install-checks
+cp -pr package.json index.js \
+	%{buildroot}%{nodejs_sitelib}/npm-install-checks/
+
+%{nodejs_symlink_deps}
+
+%if 0%{?enable_tests}
+%check
+%{nodejs_symlink_deps} --check
+tap test?*.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/npm-install-checks
+
+%changelog
+* 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
+- changed license to BSD
+
+* Mon Mar 16 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-4
+- Changed ExclusiveArch
+- added %%check, %%license and %%nodejs_fixdep macro
+- removed BuildRoot, Group and %%defattr
+
+* Tue Mar 03 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-3
+- Fixed dependency
+
+* Tue Jan 13 2015 Tomas Hrcka <thrcka at redhat.com> - 1.0.4-2
+- Remove undefined macro
+
+* Mon Jan 12 2015 Tomas Hrcka <thrcka at redhat.com> - 1.0.4-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..1df1601 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+906f368ab01521d46b2937ab32938137  npm-install-checks-1.0.4.tgz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-npm-install-checks.git/commit/?h=master&id=0757cb9f6b88c44994e8a34e3f0ea2bc5a738b03


More information about the scm-commits mailing list