|
|
7f8015 |
%{?scl:%scl_package nodejs-strip-json-comments}
|
|
|
7f8015 |
%{!?scl:%global pkg_name %{name}}
|
|
|
7f8015 |
|
|
|
7f8015 |
%{?nodejs_find_provides_and_requires}
|
|
|
7f8015 |
|
|
|
7f8015 |
Name: %{?scl_prefix}nodejs-strip-json-comments
|
|
|
7f8015 |
Version: 1.0.2
|
|
|
7f8015 |
Release: 5%{?dist}
|
|
|
7f8015 |
Summary: Strip comments from JSON
|
|
|
7f8015 |
License: MIT
|
|
|
7f8015 |
URL: https://github.com/sindresorhus/strip-json-comments
|
|
|
7f8015 |
Source: https://github.com/sindresorhus/strip-json-comments/archive/v%{version}.tar.gz
|
|
|
7f8015 |
|
|
|
7f8015 |
BuildArch: noarch
|
|
|
7f8015 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
7f8015 |
|
|
|
7f8015 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
7f8015 |
|
|
|
7f8015 |
%description
|
|
|
7f8015 |
Strip comments from JSON. Lets you use comments in your JSON files!
|
|
|
7f8015 |
|
|
|
7f8015 |
%prep
|
|
|
7f8015 |
%setup -q -n strip-json-comments-%{version}
|
|
|
7f8015 |
|
|
|
7f8015 |
%build
|
|
|
7f8015 |
#nothing to do
|
|
|
7f8015 |
|
|
|
7f8015 |
%install
|
|
|
7f8015 |
mkdir -p %{buildroot}%{nodejs_sitelib}/strip-json-comments
|
|
|
7f8015 |
cp -pr package.json strip-json-comments.js \
|
|
|
7f8015 |
%{buildroot}%{nodejs_sitelib}/strip-json-comments
|
|
|
7f8015 |
install -p -D -m0755 cli.js %{buildroot}%{nodejs_sitelib}/strip-json-comments/
|
|
|
7f8015 |
|
|
|
7f8015 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
7f8015 |
ln -s %{nodejs_sitelib}/strip-json-comments/cli.js \
|
|
|
7f8015 |
%{buildroot}%{_bindir}/strip-json-comments
|
|
|
7f8015 |
|
|
|
7f8015 |
%nodejs_symlink_deps
|
|
|
7f8015 |
|
|
|
7f8015 |
%files
|
|
|
7f8015 |
%{!?_licensedir:%global license %doc}
|
|
|
7f8015 |
%doc readme.md license
|
|
|
7f8015 |
%{nodejs_sitelib}/strip-json-comments
|
|
|
7f8015 |
%{_bindir}/strip-json-comments
|
|
|
7f8015 |
|
|
|
7f8015 |
%changelog
|
|
|
7f8015 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-5
|
|
|
7f8015 |
- Use macro in -runtime dependency
|
|
|
7f8015 |
|
|
|
7f8015 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-4
|
|
|
7f8015 |
- Rebuilt with updated metapackage
|
|
|
7f8015 |
|
|
|
7f8015 |
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.2-3
|
|
|
7f8015 |
- Enable scl macros, fix license macro for el6
|
|
|
7f8015 |
|
|
|
7f8015 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
|
|
|
7f8015 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7f8015 |
|
|
|
7f8015 |
* Sun Oct 19 2014 Anish Patil <apatil@redhat.com> - 1.0.2-1
|
|
|
7f8015 |
- Upstream has released new version
|
|
|
7f8015 |
|
|
|
7f8015 |
* Tue Aug 19 2014 Anish Patil <apatil@redhat.com> - 1.0.1-1
|
|
|
7f8015 |
- Upstream has released new version
|
|
|
7f8015 |
|
|
|
7f8015 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
|
|
|
7f8015 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7f8015 |
|
|
|
7f8015 |
* Wed Jun 4 2014 Anish Patil <apatil@redhat.com> - 0.1.3-4
|
|
|
7f8015 |
- Incorporated package review comments
|
|
|
7f8015 |
|
|
|
7f8015 |
* Wed May 28 2014 Anish Patil <apatil@redhat.com> - 0.1.2-3
|
|
|
7f8015 |
- Incorporated package review comments
|
|
|
7f8015 |
|
|
|
7f8015 |
* Wed May 07 2014 Anish Patil <apatil@redhat.com> - 0.1.1-2
|
|
|
7f8015 |
- Incorporated package review comments
|
|
|
7f8015 |
|
|
|
7f8015 |
* Thu Apr 10 2014 Anish Patil <apatil@redhat.com> - 0.1.1-1
|
|
|
7f8015 |
- Initial package
|