|
|
274593 |
%{?scl:%scl_package nodejs-read-package-json}
|
|
|
274593 |
%{!?scl:%global pkg_name %{name}}
|
|
|
274593 |
%{?nodejs_find_provides_and_requires}
|
|
|
274593 |
|
|
|
274593 |
Name: %{?scl_prefix}nodejs-read-package-json
|
|
|
274593 |
Version: 1.1.6
|
|
|
274593 |
Release: 1%{?dist}
|
|
|
274593 |
Summary: npm's package.json parser
|
|
|
274593 |
|
|
|
274593 |
Group: System Environment/Libraries
|
|
|
274593 |
License: ISC
|
|
|
274593 |
URL: https://github.com/isaacs/read-package-json
|
|
|
274593 |
Source0: http://registry.npmjs.org/read-package-json/-/read-package-json-%{version}.tgz
|
|
|
274593 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
274593 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
274593 |
BuildArch: noarch
|
|
|
274593 |
%if 0%{?fedora} >= 19
|
|
|
274593 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
274593 |
%else
|
|
|
274593 |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
|
274593 |
%endif
|
|
|
274593 |
|
|
|
274593 |
|
|
|
274593 |
%description
|
|
|
274593 |
The thing npm uses to read package.json files, with semantics, defaults and
|
|
|
274593 |
validation.
|
|
|
274593 |
|
|
|
274593 |
%prep
|
|
|
274593 |
%setup -q -n package
|
|
|
274593 |
|
|
|
274593 |
%build
|
|
|
274593 |
#nothing to do
|
|
|
274593 |
|
|
|
274593 |
%install
|
|
|
274593 |
rm -rf %buildroot
|
|
|
274593 |
mkdir -p %{buildroot}%{nodejs_sitelib}/read-package-json
|
|
|
274593 |
cp -pr package.json read-json.js %{buildroot}%{nodejs_sitelib}/read-package-json
|
|
|
274593 |
|
|
|
274593 |
%nodejs_symlink_deps
|
|
|
274593 |
|
|
|
274593 |
%clean
|
|
|
274593 |
rm -rf %buildroot
|
|
|
274593 |
|
|
|
274593 |
%files
|
|
|
274593 |
%defattr(-,root,root,-)
|
|
|
274593 |
%{nodejs_sitelib}/read-package-json
|
|
|
274593 |
%doc LICENSE README.md
|
|
|
274593 |
|
|
|
274593 |
%changelog
|
|
|
274593 |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 1.1.6-1
|
|
|
274593 |
- New upstream release 1.1.6
|
|
|
274593 |
|
|
|
274593 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 1.1.3-2
|
|
|
274593 |
- replace provides and requires with macro
|
|
|
274593 |
|
|
|
274593 |
* Sat Sep 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.1.3-1
|
|
|
274593 |
- update to upstream release 1.1.3
|
|
|
274593 |
- change License from BSD to ISC
|
|
|
274593 |
- add ExclusiveArch logic
|
|
|
274593 |
|
|
|
274593 |
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-1
|
|
|
274593 |
- new upstream release 1.1.1
|
|
|
274593 |
|
|
|
274593 |
* Mon Jun 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.0-2
|
|
|
274593 |
- remove unneeded dependency fix on lru-cache
|
|
|
274593 |
|
|
|
274593 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.0-1
|
|
|
274593 |
- new upstream release 1.1.0
|
|
|
274593 |
|
|
|
274593 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-5
|
|
|
274593 |
- restrict to compatible arches
|
|
|
274593 |
|
|
|
274593 |
* Thu Jun 20 2013 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-4
|
|
|
274593 |
- added patch to fix RHBZ#965469
|
|
|
274593 |
|
|
|
274593 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-4
|
|
|
274593 |
- add macro for EPEL6 dependency generation
|
|
|
274593 |
|
|
|
274593 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-3
|
|
|
274593 |
- fix lru-cache dep
|
|
|
274593 |
|
|
|
274593 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.0-3
|
|
|
274593 |
- Add support for software collections
|
|
|
274593 |
|
|
|
274593 |
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-2
|
|
|
274593 |
- drop outdated dependency fix
|
|
|
274593 |
|
|
|
274593 |
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
|
|
|
274593 |
- new upstream release 0.3.0
|
|
|
274593 |
|
|
|
274593 |
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.2-1
|
|
|
274593 |
- new upstream release 0.2.2
|
|
|
274593 |
|
|
|
274593 |
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
|
|
|
274593 |
- new upstream release 0.2.0
|
|
|
274593 |
|
|
|
274593 |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.13-1
|
|
|
274593 |
- new upstream release 0.1.13
|
|
|
274593 |
|
|
|
274593 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.12-2
|
|
|
274593 |
- add missing build section
|
|
|
274593 |
|
|
|
274593 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.12-1
|
|
|
274593 |
- initial package generated by npm2rpm
|