diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7847b3e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npm-package-arg-4.1.0.tgz diff --git a/.rh-nodejs4-nodejs-npm-package-arg.metadata b/.rh-nodejs4-nodejs-npm-package-arg.metadata new file mode 100644 index 0000000..5a76545 --- /dev/null +++ b/.rh-nodejs4-nodejs-npm-package-arg.metadata @@ -0,0 +1 @@ +2e015f8ac00737cb97f997c9cbf059f42a74527d SOURCES/npm-package-arg-4.1.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-npm-package-arg.spec b/SPECS/nodejs-npm-package-arg.spec new file mode 100644 index 0000000..9c640ed --- /dev/null +++ b/SPECS/nodejs-npm-package-arg.spec @@ -0,0 +1,79 @@ +%{?scl:%scl_package nodejs-npm-package-arg} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-npm-package-arg + +%global npm_name npm-package-arg +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-npm-package-arg +Version: 4.1.0 +Release: 2%{?dist} +Summary: Parse the things that can be arguments to `npm install` +Url: https://github.com/npm/npm-package-arg +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +BuildRequires: %{?scl_prefix}npm(hosted-git-info) +BuildRequires: %{?scl_prefix}npm(semver) + +Requires: %{?scl_prefix}npm(hosted-git-info) +Requires: %{?scl_prefix}npm(semver) + +%description +Parse the things that can be arguments to `npm install` + +%prep +%setup -q -n package + +%{nodejs_fixdep} semver + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json npa.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/%{npm_name} + +%doc README.md +%doc LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 4.1.0-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 4.1.0-1 +- New upstream release + +* Thu Nov 26 2015 Tomas Hrcka - 4.0.1-3 +- Enable scl macros + +* Wed Jun 17 2015 Zuzana Svetlikova - 4.0.1-1 +- New upstream version + +* Thu May 14 2015 Zuzana Svetlikova - 4.0.0-1 +- Initial build