%global module_name xtend Name: nodejs-%{module_name} Version: 4.0.1 Release: 4%{?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: nodejs-packaging %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 %files %doc README.md %license LICENSE %{nodejs_sitelib}/%{module_name} %changelog * Fri Jul 13 2018 Fedora Release Engineering - 4.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 4.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 4.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Apr 11 2017 Tom Hughes - 4.0.1-1 - Update to 4.0.1 upstream release * Sat Feb 11 2017 Fedora Release Engineering - 4.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * 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