Blame SPECS/nodejs-abbrev.spec

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