Blame SPECS/nodejs-update-notifier.spec

e6a74a
%{?scl:%scl_package nodejs-%{npm_name}}
e6a74a
%{!?scl:%global pkg_name %{name}}
e6a74a
e6a74a
%{?nodejs_find_provides_and_requires}
e6a74a
%global npm_name update-notifier
e6a74a
e6a74a
Summary:       Update notifications for your CLI app
e6a74a
Name:          %{?scl_prefix}nodejs-%{npm_name}
e6a74a
Version:       0.6.0
e6a74a
Release:       5%{?dist}
e6a74a
License:       BSD
e6a74a
URL:           https://github.com/yeoman/update-notifier
e6a74a
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
e6a74a
BuildRequires: %{?scl_prefix}nodejs-devel
e6a74a
ExclusiveArch: %{nodejs_arches} noarch
e6a74a
BuildArch:     noarch
e6a74a
e6a74a
%description
e6a74a
Update notifications for your CLI app.
e6a74a
Inform users of your package of updates in a non-intrusive way.
e6a74a
e6a74a
%prep
e6a74a
%setup -q -n package
e6a74a
e6a74a
%build
e6a74a
e6a74a
%install
e6a74a
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
e6a74a
cp -pr *.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
e6a74a
e6a74a
%nodejs_symlink_deps
e6a74a
e6a74a
%files
e6a74a
%doc readme.md
e6a74a
%{nodejs_sitelib}/%{npm_name}
e6a74a
e6a74a
%changelog
e6a74a
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.6.0-5
e6a74a
- rh-nodejs8 rebuild
e6a74a
e6a74a
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.6.0-4
e6a74a
- Use macro in -runtime dependency
e6a74a
e6a74a
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.6.0-3
e6a74a
- Rebuilt with updated metapackage
e6a74a
e6a74a
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 0.6.0-2
e6a74a
- Enable scl macros
e6a74a
e6a74a
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.6.0-1
e6a74a
- Initial package