From 4131fa11fa3c596c92e62f9c04f4a11a821055ee Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:09:25 +0000 Subject: import rh-nodejs6-nodejs-npm-cache-filename-1.0.2-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83d98f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npm-cache-filename-1.0.2.tgz diff --git a/.rh-nodejs6-nodejs-npm-cache-filename.metadata b/.rh-nodejs6-nodejs-npm-cache-filename.metadata new file mode 100644 index 0000000..26a7596 --- /dev/null +++ b/.rh-nodejs6-nodejs-npm-cache-filename.metadata @@ -0,0 +1 @@ +ded306c5b0bfc870a9e9faf823bc5f283e05ae11 SOURCES/npm-cache-filename-1.0.2.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-cache-filename.spec b/SPECS/nodejs-npm-cache-filename.spec new file mode 100644 index 0000000..4b5330c --- /dev/null +++ b/SPECS/nodejs-npm-cache-filename.spec @@ -0,0 +1,49 @@ +%{?scl:%scl_package nodejs-npm-cache-filename} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-npm-cache-filename +Version: 1.0.2 +Release: 2%{?dist} +Summary: Return NPM cache folder +License: ISC +Url: https://github.com/npm/npm-cache-filename +Source: http://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch + +%description +Given a cache folder and url, return the appropriate cache folder. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/npm-cache-filename +cp -pr package.json index.js \ + %{buildroot}%{nodejs_sitelib}/npm-cache-filename/ + +%files +%defattr(-,root,root,-) +%doc README.md LICENSE +%{nodejs_sitelib}/npm-cache-filename + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.2-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 1.0.2-1 +- Rebase to latest upstream version + +* Tue Jan 13 2015 Tomas Hrcka - 1.0.1-3 +- Remove undefined macro + +* Fri Jan 09 2015 Tomas Hrcka - 1.0.1-2 +- Add dist makro + +* Tue Jan 06 2015 Tomas Hrcka - 1.0.1-1 +- rebuilt +