diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d7800b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ignore-by-default-1.0.1.tgz diff --git a/.rh-nodejs6-nodejs-ignore-by-default.metadata b/.rh-nodejs6-nodejs-ignore-by-default.metadata new file mode 100644 index 0000000..116717d --- /dev/null +++ b/.rh-nodejs6-nodejs-ignore-by-default.metadata @@ -0,0 +1 @@ +48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09 SOURCES/ignore-by-default-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-ignore-by-default.spec b/SPECS/nodejs-ignore-by-default.spec new file mode 100644 index 0000000..413e8d2 --- /dev/null +++ b/SPECS/nodejs-ignore-by-default.spec @@ -0,0 +1,49 @@ +%{?scl:%scl_package nodejs-ignore-by-default} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 +%global npm_name ignore-by-default + +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 1.0.1 +Release: 2%{?dist} +Summary: A list of directories you should ignore by default +License: ISC +URL: https://github.com/novemberborn/ignore-by-default#readme +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +%description +A list of directories you should ignore by default + +%prep +%setup -q -n package + +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} +cp -pfr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%nodejs_symlink_deps + +%if 0%{?enable_tests} +%check +#not running tests in RHSCL +%endif + +%files +%{nodejs_sitelib}/%{npm_name} + +%doc LICENSE +%doc README.md + +%changelog +* Tue Nov 01 2016 Zuzana Svetlikova - 1.0.1-2 +- Initial build +