Blame SPECS/nodejs-forever-agent.spec

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