Blame SPECS/nodejs-which.spec

3f7373
%{?scl:%scl_package nodejs-which}
3f7373
%{!?scl:%global pkg_name %{name}}
3f7373
3f7373
%{?nodejs_find_provides_and_requires}
3f7373
3f7373
3f7373
Name:       %{?scl_prefix}nodejs-which
3f7373
Version:    1.2.0
726767
Release:    5%{?dist}
3f7373
Summary:    A JavaScript implementation of the 'which' command
726767
License:    ISC
3f7373
URL:        https://github.com/isaacs/node-which
3f7373
Source0:    http://registry.npmjs.org/which/-/which-%{version}.tgz
3f7373
BuildArch:  noarch
3f7373
3f7373
BuildRequires:  %{?scl_prefix}nodejs-devel
3f7373
3f7373
%description
3f7373
%{summary}.
3f7373
3f7373
%prep
3f7373
%setup -q -n package
3f7373
3f7373
%nodejs_fixdep is-absolute '<1.0'
3f7373
3f7373
%build
3f7373
#nothing to do
3f7373
3f7373
%install
3f7373
mkdir -p %{buildroot}%{nodejs_sitelib}/which
3f7373
cp -pr bin which.js package.json %{buildroot}%{nodejs_sitelib}/which
3f7373
3f7373
mkdir -p %{buildroot}%{_bindir}
3f7373
ln -sf ../lib/node_modules/which/bin/which %{buildroot}%{_bindir}/which-nodejs
3f7373
3f7373
%nodejs_symlink_deps
3f7373
3f7373
%files
3f7373
%{nodejs_sitelib}/which
3f7373
%{_bindir}/which-nodejs
3f7373
%doc README.md LICENSE
3f7373
3f7373
%changelog
726767
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.0-5
726767
- Resolves: rhbz#1334856 , fixes wrong license
726767
726767
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.0-4
726767
- Use macro in -runtime dependency
726767
3f7373
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.0-3
3f7373
- Add %%nodejs_fixdep macro
3f7373
3f7373
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.0-2
726767
- Rebuilt with updated metapackage
3f7373
3f7373
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.5-1
3f7373
- New upsteram release
3f7373
3f7373
* Fri May  3 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.5-7
3f7373
- Fix broken symlink in bindir
3f7373
3f7373
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-6
3f7373
- add macro for EPEL6 dependency generation
3f7373
3f7373
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.5-6
3f7373
- Add support for software collections
3f7373
3f7373
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
3f7373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3f7373
3f7373
* Tue Jan 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-4
3f7373
- fix symlink to executable
3f7373
- actually install the executable!
3f7373
- rename executable to which-nodejs
3f7373
3f7373
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-3
3f7373
- add missing build section
3f7373
3f7373
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-2
3f7373
- Clean up for submission
3f7373
3f7373
* Sun Mar 04 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-1
3f7373
- new upstream release 1.0.5
3f7373
726767
* Fri Feb 10 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-1
3f7373
- new upstream release 1.0.3
3f7373
3f7373
* Sun Dec 18 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-2
3f7373
- add Group to make EL5 happy
3f7373
3f7373
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-1
3f7373
- new upstream release
3f7373
3f7373
* Tue Aug 23 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-1
3f7373
- initial package