From 9399f1fd167f6a79e6022201e5dcfe8e559658d4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:37:31 +0000 Subject: import rh-nodejs6-nodejs-normalize-package-data-2.3.5-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44d3be1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/normalize-package-data-2.3.5.tgz diff --git a/.rh-nodejs6-nodejs-normalize-package-data.metadata b/.rh-nodejs6-nodejs-normalize-package-data.metadata new file mode 100644 index 0000000..9881bd2 --- /dev/null +++ b/.rh-nodejs6-nodejs-normalize-package-data.metadata @@ -0,0 +1 @@ +8d924f142960e1777e7ffe170543631cc7cb02df SOURCES/normalize-package-data-2.3.5.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-normalize-package-data.spec b/SPECS/nodejs-normalize-package-data.spec new file mode 100644 index 0000000..9f6d8c0 --- /dev/null +++ b/SPECS/nodejs-normalize-package-data.spec @@ -0,0 +1,80 @@ +%{?scl:%scl_package nodejs-normalize-package-data} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-normalize-package-data +Version: 2.3.5 +Release: 2%{?dist} +Summary: Normalizes npm/package.json metadata +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +License: BSD +URL: https://github.com/meryn/normalize-package-data +Source0: http://registry.npmjs.org/normalize-package-data/-/normalize-package-data-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel + +#for tests +#BuildRequires: %%{?scl_prefix}npm(tap) +#BuildRequires: %%{?scl_prefix}npm(underscore) +#BuildRequires: %%{?scl_prefix}npm(async) +#BuildRequires: %%{?scl_prefix}npm(semver) +#BuildRequires: %%{?scl_prefix}npm(github-url-from-git) + +%description +normalize-package-data exports a function that normalizes package metadata. This +data is typically found in a package.json file, but in principle could come from +any source - for example the npm registry. + +normalize-package-data is used by read-package-json to normalize the data it +reads from a package.json file. In turn, read-package-json is used by npm and +various npm-related tools. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/normalize-package-data +cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/normalize-package-data + +%nodejs_symlink_deps + +#%check +#%nodejs_symlink_deps --check +#%tap test/*.js || : + +%files +%{nodejs_sitelib}/normalize-package-data +%doc README.md LICENSE AUTHORS + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 2.3.5-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 2.3.5-1 +- New upstream release + +* Fri Jan 09 2015 Tomas Hrcka - 1.0.3-1 +- New upstream release 1.0.3 + +* Thu Jan 16 2014 Tomas Hrcka - 0.2.8-1 +- New upstream release 0.2.8 + +* Fri Nov 08 2013 Tomas Hrcka - 0.2.1-1.1 +- Software collections support + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.2.1-1 +- new upstream release 0.2.1 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.2.0-1 +- new upstream release 0.2.0 +- temporarily ignore test results to make semver update easier + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.1.6-2 +- restrict to compatible arches + +* Sun Jun 02 2013 T.C. Hollingsworth - 0.1.6-1 +- initial package