|
|
48b347 |
%{?scl:%scl_package nodejs-%{npm_name}}
|
|
|
48b347 |
%{!?scl:%global pkg_name %{name}}
|
|
|
48b347 |
|
|
|
48b347 |
%{?nodejs_find_provides_and_requires}
|
|
|
48b347 |
%global npm_name chokidar
|
|
|
48b347 |
|
|
|
48b347 |
Summary: A neat wrapper around node.js fs.watch / fs.watchFile / fsevents
|
|
|
48b347 |
Name: %{?scl_prefix}nodejs-%{npm_name}
|
|
|
48b347 |
Version: 1.6.1
|
|
|
5efea6 |
Release: 2%{?dist}
|
|
|
48b347 |
License: MIT
|
|
|
48b347 |
URL: https://github.com/paulmillr/chokidar
|
|
|
48b347 |
Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
|
|
48b347 |
BuildRequires: %{?scl_prefix}runtime
|
|
|
48b347 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
48b347 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
48b347 |
BuildArch: noarch
|
|
|
48b347 |
|
|
|
48b347 |
%description
|
|
|
48b347 |
A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.
|
|
|
48b347 |
|
|
|
48b347 |
%prep
|
|
|
48b347 |
%setup -q -n package
|
|
|
48b347 |
|
|
|
48b347 |
%nodejs_fixdep inherits
|
|
|
48b347 |
%nodejs_fixdep async-each
|
|
|
48b347 |
|
|
|
48b347 |
%build
|
|
|
48b347 |
|
|
|
48b347 |
%install
|
|
|
48b347 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
48b347 |
cp -pr index.js lib package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
48b347 |
|
|
|
48b347 |
%nodejs_symlink_deps
|
|
|
48b347 |
|
|
|
48b347 |
%files
|
|
|
48b347 |
%doc CHANGELOG.md README.md
|
|
|
48b347 |
%{nodejs_sitelib}/%{npm_name}
|
|
|
48b347 |
|
|
|
48b347 |
%changelog
|
|
|
5efea6 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.6.1-2
|
|
|
5efea6 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
5efea6 |
|
|
|
48b347 |
* Mon Oct 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.6.1-1
|
|
|
48b347 |
- Updated with script
|
|
|
48b347 |
|
|
|
48b347 |
* Wed Apr 13 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-10
|
|
|
48b347 |
- Changed inherits fixdep
|
|
|
48b347 |
|
|
|
48b347 |
* Thu Mar 17 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-9
|
|
|
48b347 |
- Add nodejs-devel dependency
|
|
|
48b347 |
|
|
|
48b347 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-8
|
|
|
48b347 |
- Use proper macro in -runtime dependency
|
|
|
48b347 |
|
|
|
48b347 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-6
|
|
|
48b347 |
- Use proper macro in -runtime dependency
|
|
|
48b347 |
|
|
|
48b347 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-5
|
|
|
48b347 |
- rebuilt
|
|
|
48b347 |
|
|
|
48b347 |
* Fri Jan 29 2016 Tomas Hrcka <thrcka@redhat.com> - 1.4.1-4
|
|
|
48b347 |
- Enable scl macros
|
|
|
48b347 |
|
|
|
48b347 |
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 1.4.1-2
|
|
|
48b347 |
- Fix dependencies
|
|
|
48b347 |
|
|
|
48b347 |
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.4.1-1
|
|
|
48b347 |
- Initial package
|