Blame SPECS/nodejs-forever-agent.spec

2da02e
%{?scl:%scl_package nodejs-forever-agent}
2da02e
%{!?scl:%global pkg_name %{name}}
2da02e
%{?nodejs_find_provides_and_requires}
2da02e
2da02e
Name:       %{?scl_prefix}nodejs-forever-agent
2da02e
Version:    0.5.0
2da02e
Release:    3%{?dist}
2da02e
Summary:    HTTP Agent that keeps socket connections alive between keep-alive requests
2da02e
# Apache 2.0 License added upstream, will appear in next release
2da02e
# https://github.com/mikeal/forever-agent/blob/master/LICENSE
2da02e
License:    ASL 2.0
2da02e
Group:      Development/Libraries
2da02e
URL:        https://github.com/mikeal/forever-agent
2da02e
Source0:    http://registry.npmjs.org/forever-agent/-/forever-agent-%{version}.tgz
2da02e
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
2da02e
BuildArch:  noarch
2da02e
ExclusiveArch: %{nodejs_arches} noarch
2da02e
2da02e
BuildRequires:  %{?scl_prefix}nodejs-devel
2da02e
2da02e
%description
2da02e
%{summary}.
2da02e
2da02e
%prep
2da02e
%setup -q -n package
2da02e
2da02e
%build
2da02e
#nothing to do
2da02e
2da02e
%install
2da02e
rm -rf %{buildroot}
2da02e
2da02e
mkdir -p %{buildroot}%{nodejs_sitelib}/forever-agent
2da02e
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/forever-agent
2da02e
2da02e
%nodejs_symlink_deps
2da02e
2da02e
%clean
2da02e
rm -rf %{buildroot}
2da02e
2da02e
%files
2da02e
%defattr(-,root,root,-)
2da02e
%{nodejs_sitelib}/forever-agent
2da02e
2da02e
%changelog
2da02e
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.5.0-3
2da02e
- rebuilt
2da02e
2da02e
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.5.0-2
2da02e
- replace provides and requires with macro
2da02e
2da02e
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.5.0-1
2da02e
- new upstream release 0.5.0
2da02e
2da02e
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-3
2da02e
- restrict to compatible arches
2da02e
2da02e
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
2da02e
- add macro for EPEL6 dependency generation
2da02e
2da02e
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-2
2da02e
- Add support for software collections
2da02e
2da02e
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
2da02e
- initial package