Blame SPECS/nodejs-rc.spec

445576
%{?scl:%scl_package nodejs-%{module_name}}
445576
%{!?scl:%global pkg_name %{name}}
445576
445576
%{?nodejs_find_provides_and_requires}
445576
445576
%global enable_tests 0
445576
%global module_name rc
445576
445576
Name:           %{?scl_prefix}nodejs-%{module_name}
445576
Version:        1.1.2
7ecc15
Release:        6%{?dist}
445576
Summary:        Hardwired configuration loader
445576
445576
License:        MIT or BSD or ASL 2.0
445576
URL:            https://github.com/dominictarr/rc
445576
Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
445576
BuildArch:      noarch
445576
ExclusiveArch:  %{nodejs_arches} noarch
445576
445576
BuildRequires:  %{?scl_prefix}runtime
445576
445576
%if 0%{?enable_tests}
445576
BuildRequires:  %{?scl_prefix}npm(ini)
445576
BuildRequires:  %{?scl_prefix}npm(strip-json-comments)
445576
BuildRequires:  %{?scl_prefix}npm(minimist)
445576
BuildRequires:  %{?scl_prefix}npm(deep-extend)
445576
%endif
445576
445576
%description
445576
The non-configurable configuration loader for lazy people.
445576
445576
%prep
445576
%setup -q -n package
445576
rm -rf node_modules
445576
445576
%nodejs_fixdep deep-extend
445576
%nodejs_fixdep minimist
445576
%nodejs_fixdep strip-json-comments
445576
%nodejs_fixdep ini
445576
445576
%build
445576
# nothing to build
445576
445576
%install
445576
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
445576
cp -pr package.json *.js lib %{buildroot}%{nodejs_sitelib}/%{module_name}
445576
%nodejs_symlink_deps
445576
445576
%if 0%{?enable_tests}
445576
445576
%check
445576
%nodejs_symlink_deps --check
445576
set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js
445576
%endif
445576
445576
%files
445576
%doc README.md LICENSE.MIT LICENSE.APACHE2 LICENSE.BSD
445576
%{nodejs_sitelib}/%{module_name}
445576
445576
%changelog
7ecc15
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-6
7ecc15
- Resolves: RHBZ#1543198, rebuild for multiarch
7ecc15
445576
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-5
445576
- Use macro in -runtime dependency
445576
445576
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-4
445576
- Rebuilt with updated metapackage
445576
445576
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.1.2-3
445576
- Enable scl macros
445576
445576
* Fri Dec 18 2015 Troy Dawson <tdawson@redhat.com> - 1.1.2-1
445576
- Update to 1.1.2
445576
445576
* Sat Dec 12 2015 Piotr Popieluch <piotr1212@gmail.com> - 0.6.0-3
445576
- Fixdep updated minimist
445576
445576
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
445576
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
445576
445576
* Wed Feb 04 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.6.0-1
445576
- update to 0.6.0 upstream release
445576
445576
* Mon Dec 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.5.4-2
445576
- Add missing multilicense tag and its text
445576
445576
* Thu Dec 04 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.5.4-1
445576
- Initial packaging