Blame SPECS/nodejs-fstream-ignore.spec

cb13c7
%{?scl:%scl_package nodejs-fstream-ignore}
cb13c7
%{!?scl:%global pkg_name %{name}}
cb13c7
%global enable_tests 0
cb13c7
%{?nodejs_find_provides_and_requires}
cb13c7
cb13c7
Name:       %{?scl_prefix}nodejs-fstream-ignore
cb13c7
Version:    1.0.5
cb13c7
Release:    1%{?dist}
cb13c7
Summary:    A file stream object that can ignore files by globs
cb13c7
# a copy of the BSD license will be included in the next upstream release
cb13c7
# https://github.com/isaacs/fstream-ignore/commit/f5b9b1d981ff98ce1c92d4eac2b1aa91a142e421
cb13c7
License:    ISC
cb13c7
URL:        https://github.com/isaacs/fstream-ignore
cb13c7
Source0:    http://registry.npmjs.org/fstream-ignore/-/fstream-ignore-%{version}.tgz
cb13c7
BuildArch:  noarch
cb13c7
ExclusiveArch: %{nodejs_arches} noarch
cb13c7
cb13c7
BuildRequires:  %{?scl_prefix}nodejs-devel
cb13c7
cb13c7
%if 0%{enable_tests}
cb13c7
BuildRequires:    %{?scl_prefix}npm(mkdirp)
cb13c7
BuildRequires:    %{?scl_prefix}npm(rimraf)
cb13c7
BuildRequires:    %{?scl_prefix}npm(tap)
cb13c7
%endif
cb13c7
cb13c7
%description
cb13c7
%{summary}.
cb13c7
cb13c7
%prep
cb13c7
%setup -q -n package
cb13c7
cb13c7
#%nodejs_fixdep minimatch '>= 3.0.0'
cb13c7
cb13c7
%build
cb13c7
#nothing to do
cb13c7
cb13c7
%install
cb13c7
mkdir -p %{buildroot}%{nodejs_sitelib}/fstream-ignore
cb13c7
cp -pr ignore.js package.json %{buildroot}%{nodejs_sitelib}/fstream-ignore
cb13c7
cb13c7
%nodejs_symlink_deps
cb13c7
cb13c7
%if 0%{enable_tests}
cb13c7
%check
cb13c7
%nodejs_symlink_deps --check
cb13c7
tap test/*.js --cov
cb13c7
%endif
cb13c7
cb13c7
%files
cb13c7
%{nodejs_sitelib}/fstream-ignore
cb13c7
%doc README.md LICENSE
cb13c7
cb13c7
%changelog
cb13c7
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.5-1
cb13c7
- Updated with script
cb13c7
- source tarball no longer has tests and examples
cb13c7
cb13c7
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-4
cb13c7
- Resolves: rhbz#1334856
cb13c7
- ^fixes wrong license
cb13c7
cb13c7
* Tue Feb 16 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.2-3
cb13c7
- Fix dependency version of minimatch
cb13c7
cb13c7
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.2-3
cb13c7
- New upstream release 1.0.2
cb13c7
cb13c7
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.7-2
cb13c7
- replace provides and requires with macro
cb13c7
cb13c7
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-1
cb13c7
- new upstream release 0.0.7
cb13c7
cb13c7
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-3
cb13c7
- restrict to compatible arches
cb13c7
cb13c7
* Wed May 22 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.6-3
cb13c7
- Add LICENSE file to the package
cb13c7
cb13c7
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-2
cb13c7
- add macro for EPEL6 dependency generation
cb13c7
cb13c7
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.6-2
cb13c7
- Add support for software collections
cb13c7
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-1
cb13c7
- new upstream release 0.0.6
cb13c7
cb13c7
* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-4
cb13c7
- fix License tag
cb13c7
cb13c7
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-3
cb13c7
- add missing build section
cb13c7
- write better summary
cb13c7
cb13c7
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-2
cb13c7
- clean up for submission
cb13c7
cb13c7
* Wed Mar 28 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-1
cb13c7
- initial package