|
|
e40ad5 |
%{?scl:%scl_package nodejs-hoek}
|
|
|
e40ad5 |
%{!?scl:%global pkg_name %{name}}
|
|
|
e40ad5 |
%{?nodejs_find_provides_and_requires}
|
|
|
e40ad5 |
|
|
|
e40ad5 |
Name: %{?scl_prefix}nodejs-hoek
|
|
|
e40ad5 |
Version: 2.16.3
|
|
|
c407f1 |
Release: 2%{?dist}
|
|
|
e40ad5 |
Summary: General purpose Node.js utilities
|
|
|
e40ad5 |
License: BSD
|
|
|
e40ad5 |
URL: https://github.com/spumko/hoek
|
|
|
e40ad5 |
Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz
|
|
|
e40ad5 |
BuildArch: noarch
|
|
|
e40ad5 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
e40ad5 |
|
|
|
e40ad5 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%description
|
|
|
e40ad5 |
This package contains some general purpose Node.js utilities, including
|
|
|
e40ad5 |
utilities for working with objects, timers, binary encoding/decoding, escaping
|
|
|
e40ad5 |
characters, errors, and loading files.
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%prep
|
|
|
e40ad5 |
%setup -q -n package
|
|
|
e40ad5 |
|
|
|
e40ad5 |
#fix perms
|
|
|
e40ad5 |
chmod 0644 README.md LICENSE images/* lib/* package.json
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%build
|
|
|
e40ad5 |
#nothing to do
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%install
|
|
|
e40ad5 |
mkdir -p %{buildroot}%{nodejs_sitelib}/hoek
|
|
|
e40ad5 |
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/hoek
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%nodejs_symlink_deps
|
|
|
e40ad5 |
|
|
|
e40ad5 |
#Yet Another Unpackaged Test Framework (lab)
|
|
|
e40ad5 |
#%%check
|
|
|
e40ad5 |
#make test
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%files
|
|
|
e40ad5 |
%{nodejs_sitelib}/hoek
|
|
|
e40ad5 |
%doc README.md LICENSE images
|
|
|
e40ad5 |
|
|
|
e40ad5 |
%changelog
|
|
|
c407f1 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.16.3-2
|
|
|
c407f1 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
c407f1 |
|
|
|
e40ad5 |
* Tue Sep 13 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.16.3-1
|
|
|
e40ad5 |
- Updated with script
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.9.1-4
|
|
|
e40ad5 |
- rebuilt
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.9.1-3
|
|
|
e40ad5 |
- replace provides and requires with macro
|
|
|
e40ad5 |
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.1-1
|
|
|
e40ad5 |
- new upstream release 0.9.1
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.1-3
|
|
|
e40ad5 |
- restrict to compatible arches
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.1-2
|
|
|
e40ad5 |
- add macro for EPEL6 dependency generation
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-2
|
|
|
e40ad5 |
- Add support for software collections
|
|
|
e40ad5 |
|
|
|
e40ad5 |
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.1-1
|
|
|
e40ad5 |
- initial package
|