Blame SPECS/nodejs-abbrev.spec

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