diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45f7414 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xtend-4.0.0.tgz diff --git a/.rh-nodejs6-nodejs-xtend.metadata b/.rh-nodejs6-nodejs-xtend.metadata new file mode 100644 index 0000000..330f734 --- /dev/null +++ b/.rh-nodejs6-nodejs-xtend.metadata @@ -0,0 +1 @@ +8bc36ff87aedbe7ce9eaf0bca36b2354a743840f SOURCES/xtend-4.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-xtend.spec b/SPECS/nodejs-xtend.spec new file mode 100644 index 0000000..31b0b1f --- /dev/null +++ b/SPECS/nodejs-xtend.spec @@ -0,0 +1,66 @@ +%{?scl:%scl_package nodejs-%{module_name}} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global module_name xtend + +Name: %{?scl_prefix}nodejs-%{module_name} +Version: 4.0.0 +Release: 5%{?dist} +Summary: Extend like a boss + +License: MIT +URL: https://github.com/Raynos/%{module_name} +Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: %{?scl_prefix}npm(tape) + + +%description +xtend is a basic utility library which allows you to extend an object by +appending all of the properties from each object in a list. When there +are identical properties, the right-most property takes precedence. + +%prep +%setup -q -n package +rm -rf node_modules + +# Fix upstream file name +mv LICENCE LICENSE + +%build +#nothing to build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} +cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name} +%nodejs_symlink_deps + +#%check +#%nodejs_symlink_deps --check +#node test.js + +%files +%doc LICENSE README.md +%{nodejs_sitelib}/%{module_name} + +%changelog +* Thu Sep 15 2016 Zuzana Svetlikova - 4.0.0-5 +- Built for RHSCL +- turn off tests + +* Thu Feb 04 2016 Fedora Release Engineering - 4.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 4.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Oct 24 2014 Parag Nemade - 4.0.0-2 +- Add missing BR: npm(tape) +- fixed whitespace typo + +* Fri Sep 19 2014 Parag Nemade - 4.0.0-1 +- Initial packaging