From 88e570c1cbd656c54b7baa99a8e25f71a1bdd83c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 08:13:46 +0000 Subject: import nodejs010-nodejs-npm-cache-filename-1.0.1-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f7e87cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npm-cache-filename-1.0.1.tgz diff --git a/.nodejs010-nodejs-npm-cache-filename.metadata b/.nodejs010-nodejs-npm-cache-filename.metadata new file mode 100644 index 0000000..5cf856d --- /dev/null +++ b/.nodejs010-nodejs-npm-cache-filename.metadata @@ -0,0 +1 @@ +9b640f0c1a5ba1145659685372a9ff71f70c4323 SOURCES/npm-cache-filename-1.0.1.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..a75ca1c --- /dev/null +++ b/SPECS/nodejs-npm-cache-filename.spec @@ -0,0 +1,45 @@ +%{?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.1 +Release: 3%{?dist} +Summary: Return NPM cache folder +License: ISC +Group: Development/Languages/Other +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 +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +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 +* 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 +