Blame SPECS/nodejs-normalize-package-data.spec

9399f1
%{?scl:%scl_package nodejs-normalize-package-data}
9399f1
%{!?scl:%global pkg_name %{name}}
9399f1
9399f1
%{?nodejs_find_provides_and_requires}
9399f1
9399f1
Name:           %{?scl_prefix}nodejs-normalize-package-data
9399f1
Version:        2.3.5
89a8d7
Release:        3%{?dist}
9399f1
Summary:        Normalizes npm/package.json metadata
9399f1
BuildArch:      noarch
9399f1
ExclusiveArch: %{nodejs_arches} noarch
9399f1
License:        BSD
9399f1
URL:            https://github.com/meryn/normalize-package-data
9399f1
Source0:        http://registry.npmjs.org/normalize-package-data/-/normalize-package-data-%{version}.tgz
9399f1
BuildRequires:  %{?scl_prefix}nodejs-devel
9399f1
9399f1
#for tests
9399f1
#BuildRequires:  %%{?scl_prefix}npm(tap)
9399f1
#BuildRequires:  %%{?scl_prefix}npm(underscore)
9399f1
#BuildRequires:  %%{?scl_prefix}npm(async)
9399f1
#BuildRequires:  %%{?scl_prefix}npm(semver)
9399f1
#BuildRequires:  %%{?scl_prefix}npm(github-url-from-git)
9399f1
9399f1
%description
9399f1
normalize-package-data exports a function that normalizes package metadata. This
9399f1
data is typically found in a package.json file, but in principle could come from
9399f1
any source - for example the npm registry.
9399f1
9399f1
normalize-package-data is used by read-package-json to normalize the data it
9399f1
reads from a package.json file. In turn, read-package-json is used by npm and
9399f1
various npm-related tools.
9399f1
9399f1
%prep
9399f1
%setup -q -n package
9399f1
9399f1
%build
9399f1
#nothing to do
9399f1
9399f1
%install
9399f1
mkdir -p %{buildroot}%{nodejs_sitelib}/normalize-package-data
9399f1
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/normalize-package-data
9399f1
9399f1
%nodejs_symlink_deps
9399f1
9399f1
#%check
9399f1
#%nodejs_symlink_deps --check
9399f1
#%tap test/*.js || :
9399f1
9399f1
%files
9399f1
%{nodejs_sitelib}/normalize-package-data
9399f1
%doc README.md LICENSE AUTHORS
9399f1
9399f1
%changelog
89a8d7
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.3.5-3
89a8d7
- Resolves: RHBZ#1543198, rebuild for multiarch
89a8d7
9399f1
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.3.5-2
9399f1
- rebuilt
9399f1
9399f1
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 2.3.5-1
9399f1
- New upstream release
9399f1
9399f1
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.3-1
9399f1
- New upstream release 1.0.3
9399f1
9399f1
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.2.8-1
9399f1
- New upstream release 0.2.8
9399f1
9399f1
* Fri Nov 08 2013 Tomas Hrcka <thrcka@redhat.com> - 0.2.1-1.1
9399f1
- Software collections support
9399f1
9399f1
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.1-1
9399f1
- new upstream release 0.2.1
9399f1
9399f1
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
9399f1
- new upstream release 0.2.0
9399f1
- temporarily ignore test results to make semver update easier
9399f1
9399f1
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.6-2
9399f1
- restrict to compatible arches
9399f1
9399f1
* Sun Jun 02 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.6-1
9399f1
- initial package