Blame SPECS/nodejs-verror.spec

906690
%{?scl:%scl_package nodejs-%{srcname}}
906690
%{!?scl:%global pkg_name %{name}}
906690
%{?nodejs_find_provides_and_requires}
906690
%global srcname verror
906690
906690
Name:           %{?scl_prefix}nodejs-%{srcname}
906690
Version:        1.8.1
906690
Release:        2%{?dist}
906690
Summary:        Richer JavaScript errors
906690
License:        MIT
906690
URL:            https://github.com/joyent/node-verror
906690
Source0:        https://github.com/joyent/node-verror/archive/v%{version}.tar.gz#/%{pkg_name}-%{version}.tar.gz
906690
# This is a testing tool we probably don't need in scl
906690
Source1:        https://raw.githubusercontent.com/joyent/catest/ca138645cc9647d6976063c61fa9f28dd16c5023/catest
906690
906690
BuildArch:      noarch
906690
906690
ExclusiveArch:  %{nodejs_arches} noarch
906690
906690
BuildRequires:  %{?scl_prefix}nodejs-devel
906690
906690
%description
906690
%{summary}.
906690
906690
%prep
906690
%autosetup -p 1 -n node-verror-%{version}
906690
%nodejs_fixdep extsprintf '1.x'
906690
rm -rf node_modules
906690
#install -m0755  %{SOURCE1} ./deps/catest
906690
906690
%build
906690
#nothing to do
906690
906690
%install
906690
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
906690
906690
cp -pr package.json lib/ \
906690
    %{buildroot}%{nodejs_sitelib}/%{srcname}
906690
906690
%{nodejs_symlink_deps}
906690
906690
#%check
906690
#%{nodejs_symlink_deps} --check
906690
#%{?scl:scl enable %{scl} - << \EOF}
906690
#make test
906690
#%{?scl:EOF}
906690
906690
906690
%files
906690
%doc README.md examples/
906690
%license LICENSE
906690
%{nodejs_sitelib}/%{srcname}
906690
906690
%changelog
906690
* Thu Sep 15 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-2
906690
- Built for RHSCL
906690
- turn off tests
906690
906690
* Sun Aug 28 2016 Piotr Popieluch <piotr1212@gmail.com> - - 1.8.1-1
906690
- Update to 1.8.1
906690
906690
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
906690
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
906690
906690
* Thu Jan 21 2016 Tom Hughes <tom@compton.nu> - 1.6.0-2
906690
- Patch tests for changes in stack traces with nodejs 4
906690
906690
* Sun Dec 06 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.6.0-1
906690
- Initial package