Blame SPECS/nodejs-is-property.spec

467900
%{?scl:%scl_package nodejs-%{srcname}}
467900
%{!?scl:%global pkg_name %{name}}
467900
467900
%{?nodejs_find_provides_and_requires}
467900
467900
%global srcname is-property
467900
467900
Name:           %{?scl_prefix}nodejs-%{srcname}
467900
Version:        1.0.2
467900
Release:        3%{?dist}
467900
Summary:        Tests if a json property can be safely accessed using the .syntax
467900
467900
License:        MIT
467900
URL:            https://github.com/mikolalysenko/is-property
467900
Source0:        https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
467900
Source1:        https://raw.githubusercontent.com/mikolalysenko/is-property/master/test/test.js
467900
467900
BuildArch:      noarch
467900
ExclusiveArch:  %{nodejs_arches} noarch
467900
467900
BuildRequires:  %{?scl_prefix}nodejs-devel
467900
#BuildRequires:  %{?scl_prefix}npm(tap)
467900
#BuildRequires:  %{?scl_prefix}npm(tape)
467900
467900
%description
467900
%{summary}.
467900
467900
%prep
467900
%setup -q -n package
467900
rm -rf node_modules
467900
mkdir test
467900
cp -p %{SOURCE1} ./test
467900
467900
%build
467900
# nothing to build
467900
467900
%install
467900
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
467900
cp -pr package.json is-property.js \
467900
    %{buildroot}%{nodejs_sitelib}/%{srcname}
467900
467900
%nodejs_symlink_deps
467900
467900
#%check
467900
#%nodejs_symlink_deps --check
467900
#tap test/*.js
467900
467900
%files
467900
%doc README.md
467900
%license LICENSE
467900
%{nodejs_sitelib}/%{srcname}
467900
467900
%changelog
467900
* Wed Sep 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-3
467900
- Built for RHSCL
467900
467900
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
467900
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
467900
467900
* Wed Oct 28 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.0.2-1
467900
- Initial packaging