From 1f77635f38edda6abae032bef567e17bd6049490 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 09:13:50 +0000 Subject: import rh-nodejs4-nodejs-path-is-inside-1.0.1-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca50edc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/path-is-inside-1.0.1.tgz diff --git a/.rh-nodejs4-nodejs-path-is-inside.metadata b/.rh-nodejs4-nodejs-path-is-inside.metadata new file mode 100644 index 0000000..805784c --- /dev/null +++ b/.rh-nodejs4-nodejs-path-is-inside.metadata @@ -0,0 +1 @@ +98d8f1d030bf04bd7aeee4a1ba5485d40318fd89 SOURCES/path-is-inside-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-path-is-inside.spec b/SPECS/nodejs-path-is-inside.spec new file mode 100644 index 0000000..9a9deb0 --- /dev/null +++ b/SPECS/nodejs-path-is-inside.spec @@ -0,0 +1,55 @@ +%{?scl:%scl_package nodejs-path-is-inside} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-path-is-inside_1.0.0 + +%global npmname path-is-inside +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-path-is-inside +Version: 1.0.1 +Release: 1%{?dist} +Summary: Tests whether one path is inside another path +Url: https://github.com/domenic/path-is-inside +Source0: http://registry.npmjs.org/%{npmname}/-/%{npmname}-%{version}.tgz +License: WTFPL + +BuildArch: noarch + +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Tests whether one path is inside another path + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/path-is-inside +cp -pr package.json lib/ %{buildroot}%{nodejs_sitelib}/path-is-inside +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/path-is-inside +%doc LICENSE.txt README.md + +%changelog +* Thu Feb 18 2016 Zuzana Svetlikova - 1.0.1-1 +- New upstream release +- add BuildArch and ExclusiveArch + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.0-2 +- Rebuilt with new metapackage + +* Wed Feb 12 2014 Tomas Hrcka - 1.0.0-1 +- Initial build +