Blame SPECS/nodejs-path-array.spec

703837
%{?scl:%scl_package nodejs-path-array}
703837
%{!?scl:%global pkg_name %{name}}
703837
703837
# spec file for package nodejs-nodejs-path-array
703837
703837
%global npm_name path-array
703837
%{?nodejs_find_provides_and_requires}
703837
703837
%global enable_tests 0
703837
703837
Name:		%{?scl_prefix}nodejs-path-array
703837
Version:    1.0.1
ca8fa6
Release:    2%{?dist}
703837
Summary:	Treat your $PATH like a JavaScript Array
703837
Url:		https://github.com/TooTallNate/node-path-array
703837
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
703837
License:	MIT
703837
703837
BuildArch:	noarch
703837
703837
%if 0%{?fedora} >= 19
703837
ExclusiveArch: %{nodejs_arches} noarch
703837
%else
ca8fa6
ExclusiveArch: %{nodejs_arches} noarch
703837
%endif
703837
703837
BuildRequires:  %{?scl_prefix}nodejs-devel
703837
BuildRequires:  %{?scl_prefix}runtime
703837
703837
%if 0%{?enable_tests}
703837
BuildRequires:	%{?scl_prefix}npm(mocha)
703837
%endif
703837
703837
%description
703837
Treat your $PATH like a JavaScript Array
703837
703837
%prep
703837
%setup -q -n package
703837
703837
rm -rf node_modules
703837
703837
%build
703837
703837
%install
703837
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
703837
703837
cp -pr package.json *.js \
703837
%{buildroot}%{nodejs_sitelib}/%{npm_name}
703837
703837
%{nodejs_symlink_deps}
703837
703837
%if 0%{?enable_tests}
703837
703837
%check
703837
%{nodejs_symlink_deps} --check
703837
703837
%endif
703837
703837
%files
703837
%{nodejs_sitelib}/path-array
703837
703837
%doc README.md
703837
703837
%changelog
ca8fa6
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-2
ca8fa6
- Resolves: RHBZ#1543198, rebuild for multiarch
ca8fa6
703837
* Thu Sep 22 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
703837
- Updated with script
703837
703837
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-3
703837
- Use macro in -runtime dependency
703837
703837
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-2
703837
- Rebuilt with updated metapackage
703837
703837
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-1
703837
- Initial build