diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6498184 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/repeating-2.0.0.tgz diff --git a/.nodejs010-nodejs-repeating.metadata b/.nodejs010-nodejs-repeating.metadata new file mode 100644 index 0000000..06b4a2d --- /dev/null +++ b/.nodejs010-nodejs-repeating.metadata @@ -0,0 +1 @@ +fd27d6d264d18fbebfaa56553dd7b82535a5034e SOURCES/repeating-2.0.0.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-repeating.spec b/SPECS/nodejs-repeating.spec new file mode 100644 index 0000000..db84749 --- /dev/null +++ b/SPECS/nodejs-repeating.spec @@ -0,0 +1,47 @@ +%{?scl:%scl_package nodejs-%{npm_name}} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global npm_name repeating + +Summary: Repeat a string - fast +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 2.0.0 +Release: 5%{?dist} +License: MIT +URL: https://github.com/sindresorhus/repeating +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +BuildRequires: nodejs010-runtime +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch +Provides: %{?scl_prefix}nodejs-%{npm_name} = %{version} + +%description +Repeat a string - fast + +%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 +%{!?_licensedir:%global license %doc} +%doc license readme.md +%{nodejs_sitelib}/%{npm_name} + +%changelog +* Fri Jan 15 2016 Tomas Hrcka - 2.0.0-5 +- Enable find_provides_and_requires macro + +* Wed Jan 06 2016 Tomas Hrcka - 2.0.0-3 +- Enable scl macros + +* Thu Sep 10 2015 Troy Dawson +- spec change: npmname -> npm_name + +* Thu Sep 10 2015 Troy Dawson - 2.0.0-1 +- Initial package