Blame SPECS/nodejs-strip-json-comments.spec

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