From 555b6787736a759b016713aa49153268527aa100 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:56:55 +0000 Subject: import rh-nodejs4-nodejs-is-absolute-0.2.3-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e4b6c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/is-absolute-0.2.3.tgz diff --git a/.rh-nodejs4-nodejs-is-absolute.metadata b/.rh-nodejs4-nodejs-is-absolute.metadata new file mode 100644 index 0000000..8ce8303 --- /dev/null +++ b/.rh-nodejs4-nodejs-is-absolute.metadata @@ -0,0 +1 @@ +fff8822a1028e104b10bd9049012211f272b07fc SOURCES/is-absolute-0.2.3.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-is-absolute.spec b/SPECS/nodejs-is-absolute.spec new file mode 100644 index 0000000..fe11bce --- /dev/null +++ b/SPECS/nodejs-is-absolute.spec @@ -0,0 +1,45 @@ +%{?scl:%scl_package nodejs-%{npm_name}} +%{!?scl:%global pkg_name %{name}} + +%global npm_name is-absolute +%{?nodejs_find_provides_and_requires} + +Summary: Returns true if a file path is absolute +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 0.2.3 +Release: 4%{?dist} +License: MIT +URL: https://github.com/jonschlinkert/is-absolute +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz + +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch +Provides: %{?scl_prefix}nodejs-%{npm_name} = %{version} + +%description +Returns true if a file path is absolute. + +Based on the isAbsolute utility method in express. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%files +%doc README.md LICENSE +%{nodejs_sitelib}/%{npm_name} + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 0.2.3-4 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 0.2.3-3 +- Enable scl macros + +* Tue Nov 24 2015 Troy Dawson - 0.2.3-1 +- Initial package