Jared K. Smith b597869
%{?nodejs_find_provides_and_requires}
Jared K. Smith b597869
Jared K. Smith b597869
%global packagename concat-map
Jared K. Smith b597869
%global enable_tests 1
Jared K. Smith b597869
Jared K. Smith b597869
Name:		nodejs-concat-map
Jared K. Smith b597869
Version:	0.0.1
4bf5600
Release:	8%{?dist}
Jared K. Smith b597869
Summary:	Concatenative mapdashery
Jared K. Smith b597869
Jared K. Smith b597869
License:	MIT
Jared K. Smith b597869
URL:		https://github.com/substack/node-concat-map.git
Jared K. Smith b597869
Source0:	https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
Jared K. Smith b597869
Jared K. Smith b597869
ExclusiveArch:	%{nodejs_arches} noarch
Jared K. Smith b597869
BuildArch:	noarch
Jared K. Smith b597869
Jared K. Smith b597869
BuildRequires:	nodejs-packaging
Jared K. Smith b597869
%if 0%{?enable_tests}
Jared K. Smith b597869
BuildRequires:	npm(tape)
Jared K. Smith b597869
%endif
Jared K. Smith b597869
Jared K. Smith b597869
%description
Jared K. Smith b597869
Concatenative mapdashery
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
%prep
Jared K. Smith b597869
%setup -q -n package
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
%build
Jared K. Smith b597869
# nothing to do!
Jared K. Smith b597869
Jared K. Smith b597869
%install
Jared K. Smith b597869
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
Jared K. Smith b597869
cp -pr package.json *.js \
Jared K. Smith b597869
	%{buildroot}%{nodejs_sitelib}/%{packagename}
Jared K. Smith b597869
Jared K. Smith b597869
%nodejs_symlink_deps
Jared K. Smith b597869
Jared K. Smith b597869
%if 0%{?enable_tests}
Jared K. Smith b597869
%check
Jared K. Smith b597869
%nodejs_symlink_deps --check
Jared K. Smith b597869
%{__nodejs} -e 'require("./")'
Jared K. Smith b597869
%{_bindir}/tape test/*.js
Jared K. Smith b597869
%endif
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
%files
Jared K. Smith b597869
%{!?_licensedir:%global license %doc}
Jared K. Smith b597869
%doc *.markdown example/
Jared K. Smith b597869
%license LICENSE
Jared K. Smith b597869
%{nodejs_sitelib}/%{packagename}
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
Jared K. Smith b597869
%changelog
4bf5600
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-8
4bf5600
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4bf5600
86d0055
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-7
86d0055
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
86d0055
16990a5
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-6
16990a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
16990a5
484d168
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-5
484d168
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
484d168
0fe38e9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-4
0fe38e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0fe38e9
80a21de
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-3
80a21de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
80a21de
Jared K. Smith b597869
* Wed Oct 21 2015 Jared Smith <jsmith@fedoraproject.org> - 0.0.1-2
Jared K. Smith b597869
- rebuilt
Jared K. Smith b597869
Jared K. Smith b597869
* Tue Oct 20 2015 Jared Smith <jsmith@fedoraproject.org> - 0.0.1-1
Jared K. Smith b597869
- Initial packaging