Blame SPECS/nodejs-delegates.spec

186997
%{?scl:%scl_package nodejs-delegates}
186997
%{!?scl:%global pkg_name %{name}}
186997
186997
# spec file for package nodejs-nodejs-delegates
186997
186997
%global npm_name delegates
186997
%{?nodejs_find_provides_and_requires}
186997
186997
%global enable_tests 0
186997
186997
Name:		%{?scl_prefix}nodejs-delegates
186997
Version:    1.0.0
f3bc91
Release:    2%{?dist}
186997
Summary:	Delegate methods and accessors to another property
186997
Url:		https://github.com/visionmedia/node-delegates
186997
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
186997
License:	MIT
186997
186997
BuildArch:	noarch
186997
186997
%if 0%{?fedora} >= 19
186997
ExclusiveArch: %{nodejs_arches} noarch
186997
%else
f3bc91
ExclusiveArch: %{nodejs_arches} noarch
186997
%endif
186997
186997
BuildRequires:  %{?scl_prefix}nodejs-devel
186997
BuildRequires:  %{?scl_prefix}runtime
186997
%if 0%{?enable_tests}
186997
BuildRequires:	%{?scl_prefix}npm(mocha)
186997
BuildRequires:	%{?scl_prefix}npm(should)
186997
%endif
186997
186997
%description
186997
delegate methods and accessors to another property
186997
186997
%prep
186997
%setup -q -n package
186997
186997
%build
186997
186997
#nothing to do
186997
186997
%install
186997
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
186997
186997
cp -pr package.json *.js \
186997
%{buildroot}%{nodejs_sitelib}/%{npm_name}
186997
186997
%{nodejs_symlink_deps}
186997
186997
%if 0%{?enable_tests}
186997
%check
186997
%{nodejs_symlink_deps} --check
186997
%endif
186997
186997
%files
186997
%{nodejs_sitelib}/delegates
186997
186997
%doc Readme.md
186997
186997
%changelog
f3bc91
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-2
f3bc91
- Resolves: RHBZ#1543198, rebuild for multiarch
f3bc91
186997
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-1
186997
- Updated with script
186997
186997
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.0-4
186997
- Use macro in -runtime dependency
186997
186997
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.0-3
186997
- Rebuilt with updated metapackage
186997
186997
* Sat Feb 13 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.0-2
186997
- Add License
186997
186997
* Tue Dec 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.0-1
186997
- Initial build