Blame SPECS/nodejs-abbrev.spec

3067a3
%{?scl:%scl_package nodejs-abbrev}
3067a3
%{!?scl:%global pkg_name %{name}}
3067a3
3067a3
%{?nodejs_find_provides_and_requires}
3067a3
3067a3
%global enable_tests 0
3067a3
3067a3
Name:       %{?scl_prefix}nodejs-abbrev
3067a3
Version:    1.0.9
3067a3
Release:    1%{?dist}
3067a3
Summary:    Abbreviation calculator for Node.js
3067a3
License:    ISC
3067a3
URL:        https://github.com/isaacs/abbrev-js
3067a3
Source0:    http://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz
3067a3
BuildArch:  noarch
3067a3
ExclusiveArch: %{nodejs_arches} noarch
3067a3
3067a3
BuildRequires:  %{?scl_prefix}nodejs-devel
3067a3
3067a3
%description
3067a3
Calculate the set of unique abbreviations for a given set of strings.
3067a3
3067a3
%prep
3067a3
%setup -q -n package
3067a3
3067a3
%build
3067a3
#nothing to do
3067a3
3067a3
%install
3067a3
mkdir -p %{buildroot}%{nodejs_sitelib}/abbrev
3067a3
cp -pr abbrev.js package.json %{buildroot}%{nodejs_sitelib}/abbrev
3067a3
3067a3
%nodejs_symlink_deps
3067a3
3067a3
%if 0%{?enable_tests}
3067a3
%check
3067a3
tap test.js --cov
3067a3
%endif
3067a3
3067a3
%files
3067a3
%{nodejs_sitelib}/abbrev
3067a3
%doc README.md LICENSE
3067a3
3067a3
%changelog
3067a3
* Tue Sep 06 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.9-1
3067a3
- Update
3067a3
3067a3
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.7-2
3067a3
- Resolves: rhbz#1334856 , fixes wrong license
3067a3
3067a3
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.7-1
3067a3
- Update
3067a3
3067a3
* Wed Jan 07 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.5-1
3067a3
- New upstream release 1.0.5
3067a3
3067a3
* Tue Oct 22 2013 Tomas Hrcka <thrcka@redhat.com> - 1.0.4-7
3067a3
- enable collection when running tests 
3067a3
3067a3
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-6
3067a3
- restrict to compatible arches
3067a3
3067a3
* Fri May 03 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.4-5
3067a3
- Run unit tests as part of build
3067a3
3067a3
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-4
3067a3
- add macro for EPEL6 dependency generation
3067a3
3067a3
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.4-4
3067a3
- Add support for software collections
3067a3
3067a3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
3067a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3067a3
3067a3
* Sun Jan 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-2
3067a3
- fix missing dist macro in Release
3067a3
3067a3
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-1
3067a3
- new upstream release 1.0.4
3067a3
- include newly added LICENSE file
3067a3
3067a3
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-5
3067a3
- add missing build section
3067a3
3067a3
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-4
3067a3
- clean up for submission
3067a3
3067a3
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-3
3067a3
- guard Requires for F17 automatic depedency generation
3067a3
3067a3
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-2
3067a3
- missing Group field for EL5
3067a3
3067a3
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-1
3067a3
- new upstream release 1.0.3
3067a3
3067a3
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-1
3067a3
- initial package