Blame SPECS/nodejs-deep-extend.spec

fdcc5d
%{?scl:%scl_package nodejs-%{module_name}}
fdcc5d
%{!?scl:%global pkg_name %{pkg_name}}
fdcc5d
%{?nodejs_find_provides_and_requires}
fdcc5d
fdcc5d
%global enable_tests 0
fdcc5d
%global module_name deep-extend
fdcc5d
fdcc5d
Name:           %{?scl_prefix}nodejs-%{module_name}
fdcc5d
Version:        0.3.2
fdcc5d
Release:        6%{?dist}
fdcc5d
Summary:        Recursive object extending
fdcc5d
fdcc5d
License:        MIT
fdcc5d
URL:            https://github.com/unclechu/node-deep-extend
fdcc5d
Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
fdcc5d
BuildArch:      noarch
fdcc5d
ExclusiveArch:  %{nodejs_arches} noarch
fdcc5d
fdcc5d
BuildRequires:  nodejs010-runtime
fdcc5d
fdcc5d
%if 0%{?enable_tests}
fdcc5d
BuildRequires:  %{?scl_prefix}npm(mocha)
fdcc5d
BuildRequires:  %{?scl_prefix}npm(should)
fdcc5d
%endif
fdcc5d
fdcc5d
%description
fdcc5d
%{summary}.
fdcc5d
fdcc5d
%prep
fdcc5d
%setup -q -n package
fdcc5d
rm -rf node_modules
fdcc5d
fdcc5d
%build
fdcc5d
# nothing to build
fdcc5d
fdcc5d
%install
fdcc5d
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
fdcc5d
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
fdcc5d
%nodejs_symlink_deps
fdcc5d
fdcc5d
%if 0%{?enable_tests}
fdcc5d
fdcc5d
%check
fdcc5d
%nodejs_symlink_deps --check
fdcc5d
mocha
fdcc5d
%endif
fdcc5d
fdcc5d
%files
fdcc5d
%{!?_licensedir:%global license %doc}
fdcc5d
%doc README.md LICENSE
fdcc5d
%{nodejs_sitelib}/%{module_name}
fdcc5d
fdcc5d
%changelog
fdcc5d
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.2-6
fdcc5d
- rebuilt
fdcc5d
fdcc5d
* Wed Jan 13 2016 Tomas Hrcka <thrcka@redhat.com> - 0.3.2-5
fdcc5d
- Enable scl macros
fdcc5d
fdcc5d
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.3.2-4
fdcc5d
- Use macro to find provides and requires
fdcc5d
fdcc5d
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.3.2-3
fdcc5d
- Enable scl macros, fix license macro for el6
fdcc5d
fdcc5d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
fdcc5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fdcc5d
fdcc5d
* Thu Dec 04 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.3.2-1
fdcc5d
- Initial packaging